From 425192a05db7d5066a2ba62c4f844164c94ee21f Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 28 Feb 2012 09:30:43 -0600 Subject: [PATCH] fix bug in route. --- laravel/routing/route.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/laravel/routing/route.php b/laravel/routing/route.php index d926ac89..4f4896df 100644 --- a/laravel/routing/route.php +++ b/laravel/routing/route.php @@ -191,6 +191,8 @@ protected function filters($event) */ protected function patterns() { + $filters = array(); + // We will simply iterate through the registered patterns and // check the URI pattern against the URI for the route and // if they match we'll attach the filter.