Browse Source

Update laravel/routing/controller.php

Daniel Petrie 12 years ago
parent
commit
8a8d331981
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/routing/controller.php

+ 2 - 2
laravel/routing/controller.php

@@ -154,9 +154,9 @@ abstract class Controller {
 		// 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;