Skip to content

Commit

Permalink
Fixing viewClass name on Scaffold.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 20, 2011
1 parent 63f07d3 commit 8cbd9fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/libs/controller/scaffold.php
Expand Up @@ -143,8 +143,8 @@ function __construct(Controller $controller, CakeRequest $request) {
'singularHumanName', 'pluralHumanName', 'scaffoldFields', 'associations'
));

if ($this->controller->view) {
$this->controller->view = 'Scaffold';
if ($this->controller->viewClass) {
$this->controller->viewClass = 'Scaffold';
}
$this->_validSession = (
isset($this->controller->Session) && $this->controller->Session->valid() != false
Expand Down

0 comments on commit 8cbd9fc

Please sign in to comment.