This is the code used in my Laravel 4 Tutorial in my blog  http://gilbertoalbino.com/tutorial-laravel-4