From d95c371867e4a47d2e6efc6f8fdcfb8602fe1c17 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 18 Jan 2012 09:44:12 -0600 Subject: [PATCH] fix bug in controller filters. --- laravel/routing/filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/routing/filter.php b/laravel/routing/filter.php index 539c4c57..86d71bcd 100644 --- a/laravel/routing/filter.php +++ b/laravel/routing/filter.php @@ -302,7 +302,7 @@ class Filter_Collection { */ public function on($methods) { - $method = array_map('strtolower', (array) $methods); + $this->methods = array_map('strtolower', (array) $methods); return $this; }