Skip to content

Commit

Permalink
Correct casing.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Jan 3, 2014
1 parent 4ae1fea commit 3d51bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Error/ExceptionRenderer.php
Expand Up @@ -91,7 +91,7 @@ class ExceptionRenderer {
public function __construct(Exception $exception) {
$this->controller = $this->_getController($exception);

if (method_exists($this->controller, 'apperror')) {
if (method_exists($this->controller, 'appError')) {
return $this->controller->appError($exception);
}
$method = $template = Inflector::variable(str_replace('Exception', '', get_class($exception)));
Expand Down

0 comments on commit 3d51bfe

Please sign in to comment.