fix bug in controller filters.

This commit is contained in:
Taylor Otwell 2012-01-18 09:44:12 -06:00
parent d8597e2095
commit d95c371867
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ public function only($methods)
*/
public function on($methods)
{
$method = array_map('strtolower', (array) $methods);
$this->methods = array_map('strtolower', (array) $methods);
return $this;
}