fix bug in controller filters.
This commit is contained in:
parent
d8597e2095
commit
d95c371867
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue