Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix error from previous commit.

  • Loading branch information...
commit 9d1e88ba13f9a8d0c2acb808c83d7763e1e7f5f3 1 parent c5be343
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Controller/Scaffold.php
View
2  lib/Cake/Controller/Scaffold.php
@@ -140,7 +140,7 @@ public function __construct(Controller $controller, CakeRequest $request) {
'title_for_layout', 'modelClass', 'primaryKey', 'displayField', 'singularVar', 'pluralVar',
'singularHumanName', 'pluralHumanName', 'scaffoldFields', 'associations'
));
- $this->set('title_for_layout', $title);
+ $this->controller->set('title_for_layout', $title);
if ($this->controller->viewClass) {
$this->controller->viewClass = 'Scaffold';
Please sign in to comment.
Something went wrong with that request. Please try again.