Code from Mark Does Laravel 4 screencast