Commit 829a6292 authored by Taylor Otwell's avatar Taylor Otwell

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

parent c3c7084d
...@@ -11,7 +11,7 @@ return array( ...@@ -11,7 +11,7 @@ return array(
| functions. To make your life easier, we have already setup basic filters | functions. To make your life easier, we have already setup basic filters
| for authentication and CSRF protection. | 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 @@ return array( ...@@ -35,7 +35,7 @@ return array(
'csrf' => function() '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;
}, },
); );
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment