Update laravel/routing/controller.php
This commit is contained in:
parent
b6cbac56c8
commit
8a8d331981
|
@ -154,9 +154,9 @@ public static function call($destination, $parameters = array())
|
|||
// improve speed since the bundle is not loaded on every request.
|
||||
Bundle::start($bundle);
|
||||
|
||||
list($controller, $method) = explode('@', $destination);
|
||||
list($controller_name, $method) = explode('@', $destination);
|
||||
|
||||
$controller = static::resolve($bundle, $controller);
|
||||
$controller = static::resolve($bundle, $controller_name);
|
||||
|
||||
$controller->bundle = $bundle;
|
||||
$controller->name = $controller_name;
|
||||
|
|
Loading…
Reference in New Issue