Fixed broken link in filters.php. Use Response::error.

This commit is contained in:
Taylor Otwell 2011-07-28 12:06:05 -05:00
parent c3c7084d72
commit 829a629200
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
| functions. To make your life easier, we have already setup basic filters
| for authentication and CSRF protection.
|
| For more information, check out: http://laravel.com/docs/basics/routes#filters
| For more information, check out: http://laravel.com/docs/start/routes#filters
|
*/
@ -35,7 +35,7 @@
'csrf' => function()
{
return (Input::get('csrf_token') !== Form::raw_token()) ? Response::make(View::make('error/500'), 500) : null;
return (Input::get('csrf_token') !== Form::raw_token()) ? Response::error('500') : null;
},
);