Skip to content

Commit

Permalink
Fix error from previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 4, 2012
1 parent c5be343 commit 9d1e88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Scaffold.php
Expand Up @@ -140,7 +140,7 @@ public function __construct(Controller $controller, CakeRequest $request) {
'title_for_layout', 'modelClass', 'primaryKey', 'displayField', 'singularVar', 'pluralVar', 'title_for_layout', 'modelClass', 'primaryKey', 'displayField', 'singularVar', 'pluralVar',
'singularHumanName', 'pluralHumanName', 'scaffoldFields', 'associations' 'singularHumanName', 'pluralHumanName', 'scaffoldFields', 'associations'
)); ));
$this->set('title_for_layout', $title); $this->controller->set('title_for_layout', $title);


if ($this->controller->viewClass) { if ($this->controller->viewClass) {
$this->controller->viewClass = 'Scaffold'; $this->controller->viewClass = 'Scaffold';
Expand Down

0 comments on commit 9d1e88b

Please sign in to comment.