case correction, fixes ExceptionRenderer test

This commit is contained in:
AD7six 2011-05-17 00:08:51 +02:00
parent d63b4df10c
commit e95d6a3b10
2 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ class CakeErrorController extends AppController {
parent::__construct($request);
$this->constructClasses();
$this->Components->trigger('initialize', array(&$this));
$this->_set(array('cacheAction' => false, 'viewPath' => 'errors'));
$this->_set(array('cacheAction' => false, 'viewPath' => 'Errors'));
}
/**

View file

@ -148,7 +148,7 @@ class ExceptionRenderer {
$controller = new CakeErrorController(Router::getRequest(false));
} catch (Exception $e) {
$controller = new Controller(Router::getRequest(false));
$controller->viewPath = 'errors';
$controller->viewPath = 'Errors';
}
return $controller;
}