Skip to content

Commit

Permalink
Fix for regression introduced in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 16, 2011
1 parent 3f7928f commit 8ce605a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/ControllerTask.php
Expand Up @@ -314,7 +314,7 @@ public function bake($controllerName, $actions = '', $helpers = null, $component
$contents = $this->Template->generate('classes', 'controller');

$path = $this->getPath();
$filename = $path . $this->_controllerName($controllerName) . 'Controller.php';
$filename = $path . $this->_controllerNames($controllerName) . 'Controller.php';
if ($this->createFile($filename, $contents)) {
return $contents;
}
Expand Down

0 comments on commit 8ce605a

Please sign in to comment.