diff --git a/src/Illuminate/Routing/Route.php b/src/Illuminate/Routing/Route.php index 886d85165f04..7664500784f8 100755 --- a/src/Illuminate/Routing/Route.php +++ b/src/Illuminate/Routing/Route.php @@ -268,6 +268,10 @@ protected function runController() */ public function getController() { + if (! $this->isControllerAction()) { + return null; + } + if (! $this->controller) { $class = $this->getControllerClass();