Permalink
Browse files

Correct casing.

  • Loading branch information...
dereuromark committed Jan 3, 2014
1 parent 4ae1fea commit 3d51bfee3b6d9f75c303d6bfebd306934bd23d1c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Error/ExceptionRenderer.php
@@ -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)));

0 comments on commit 3d51bfe

Please sign in to comment.