Commit 4a5e7c6f by Taylor Otwell

fixed controller routing bug.

parent 76a5bc48
...@@ -104,7 +104,7 @@ class Route { ...@@ -104,7 +104,7 @@ class Route {
{ {
if ($response instanceof Delegate) if ($response instanceof Delegate)
{ {
return Controller::call($response, $this->parameters); return Controller::call($response->destination, $this->parameters);
} }
else else
{ {
......
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