Fixed broken link in filters.php. Use Response::error.
This commit is contained in:
parent
c3c7084d72
commit
829a629200
|
@ -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;
|
||||
},
|
||||
|
||||
);
|
Loading…
Reference in New Issue