Update laravel/routing/controller.php

This commit is contained in:
Daniel Petrie 2012-05-09 17:14:01 -07:00
parent b6cbac56c8
commit 8a8d331981
1 changed files with 2 additions and 2 deletions

View File

@ -154,9 +154,9 @@ public static function call($destination, $parameters = array())
// 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;