Permalink
Browse files

Fixed wrong 'Errors' (was 'errors') viewPath passed into Error Contro…

…ller in ExceptionRenderer::_getController() after renaming of lib/Cake/Views/Errors
  • Loading branch information...
1 parent f2da8df commit 4f811f060f3746273b3a560a970cf97ee9f64372 Thomas Ploch committed May 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Error/ExceptionRenderer.php
@@ -152,7 +152,7 @@ protected function _getController($exception) {
$controller = new CakeErrorController($request);
} catch (Exception $e) {
$controller = new Controller($request);
- $controller->viewPath = 'errors';
+ $controller->viewPath = 'Errors';
}
return $controller;
}

0 comments on commit 4f811f0

Please sign in to comment.