From 829a62920091998c9fea1067d1ba81387886c07e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 28 Jul 2011 12:06:05 -0500 Subject: [PATCH] Fixed broken link in filters.php. Use Response::error. --- application/filters.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/filters.php b/application/filters.php index 0598a8dd..a04370c5 100644 --- a/application/filters.php +++ b/application/filters.php @@ -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; }, ); \ No newline at end of file