From 18e58171179468c878aa7e8ca4a9ca4e1d9667cf Mon Sep 17 00:00:00 2001 From: demsey2 Date: Thu, 17 Jan 2013 14:23:20 +0000 Subject: [PATCH] URI data is not available in the before filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit More info: http://forums.laravel.io/viewtopic.php?id=4458 --- laravel/routing/controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/routing/controller.php b/laravel/routing/controller.php index e81d6b5f..4e244948 100644 --- a/laravel/routing/controller.php +++ b/laravel/routing/controller.php @@ -276,7 +276,7 @@ abstract class Controller { // Again, as was the case with route closures, if the controller "before" // filters return a response, it will be considered the response to the // request and the controller method will not be used. - $response = Filter::run($filters, array(), true); + $response = Filter::run($filters, $parameters, true); if (is_null($response)) { @@ -439,4 +439,4 @@ abstract class Controller { } } -} \ No newline at end of file +}