Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

Commit

Permalink
Temp fix for Rest\Dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jun 24, 2015
1 parent fc4dd3a commit bef48a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Rest/Dispatcher.php
Expand Up @@ -42,7 +42,13 @@ public function dispatch()

$this->setControllerName($this->exceptionPath['controller']);
$this->setActionName($this->exceptionPath['action']);
$this->setParam('exception', $e);

/**
* @todo Change to setParam after fix of Zephir's bug
*/
$this->setParams(array(
'exception' => $e
));

return $this->dispatch();
}
Expand Down

0 comments on commit bef48a9

Please sign in to comment.