Skip to content
This repository
Browse code

Fix error from previous commit.

  • Loading branch information...
commit 9d1e88ba13f9a8d0c2acb808c83d7763e1e7f5f3 1 parent c5be343
Mark Story authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Cake/Controller/Scaffold.php
2  lib/Cake/Controller/Scaffold.php
@@ -140,7 +140,7 @@ public function __construct(Controller $controller, CakeRequest $request) {
140 140
 			'title_for_layout', 'modelClass', 'primaryKey', 'displayField', 'singularVar', 'pluralVar',
141 141
 			'singularHumanName', 'pluralHumanName', 'scaffoldFields', 'associations'
142 142
 		));
143  
-		$this->set('title_for_layout', $title);
  143
+		$this->controller->set('title_for_layout', $title);
144 144
 
145 145
 		if ($this->controller->viewClass) {
146 146
 			$this->controller->viewClass = 'Scaffold';

0 notes on commit 9d1e88b

Please sign in to comment.
Something went wrong with that request. Please try again.