Change var -> public in controllertask.

Makes the confirmation message and generated code the same.
Fixes #2216
This commit is contained in:
mark_story 2011-11-06 11:50:00 -05:00
parent 3fa0bdb60f
commit aae8a89623

View file

@ -219,7 +219,7 @@ class ControllerTask extends BakeTask {
$this->out(__d('cake_console', "Controller Name:\n\t%s", $controllerName));
if (strtolower($useDynamicScaffold) == 'y') {
$this->out("var \$scaffold;");
$this->out("public \$scaffold;");
}
$properties = array(