Commit 8a8d3319 authored by Daniel Petrie's avatar Daniel Petrie

Update laravel/routing/controller.php

parent b6cbac56
...@@ -154,9 +154,9 @@ abstract class Controller { ...@@ -154,9 +154,9 @@ abstract class Controller {
// improve speed since the bundle is not loaded on every request. // improve speed since the bundle is not loaded on every request.
Bundle::start($bundle); 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->bundle = $bundle;
$controller->name = $controller_name; $controller->name = $controller_name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment