fixed controller routing bug.

This commit is contained in:
Taylor Otwell
2011-10-15 21:43:07 -05:00
parent 76a5bc483a
commit 4a5e7c6f61

View File

@@ -104,7 +104,7 @@ class Route {
{
if ($response instanceof Delegate)
{
return Controller::call($response, $this->parameters);
return Controller::call($response->destination, $this->parameters);
}
else
{