Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Controller#rescue does not have to set response
  • Loading branch information
Marcus Lunzenauer committed Oct 29, 2009
1 parent 069859b commit 378983e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/controller.php
Expand Up @@ -400,7 +400,7 @@ function set_content_type($type) {
* @return object a response object
*/
function rescue($exception) {
return ($this->response = $this->dispatcher->trails_error($exception));
return $this->dispatcher->trails_error($exception);
}
}

0 comments on commit 378983e

Please sign in to comment.