fixed bug in route to controller delegation.
This commit is contained in:
@@ -135,7 +135,7 @@ class Caller {
|
||||
*/
|
||||
protected function callable($method)
|
||||
{
|
||||
return $method == 'before' or $method == 'after' or strncmp($method, '_', 1) === 0;
|
||||
return $method !== 'before' and $method !== 'after' and strncmp($method, '_', 1) !== 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user