Fixing typo in controller task

This commit is contained in:
Jose Lorenzo Rodriguez 2011-03-21 00:45:05 -04:30
parent 32df3156a7
commit 5c91827c44

View file

@ -314,7 +314,7 @@ class ControllerTask extends BakeTask {
$contents = $this->Template->generate('classes', 'controller');
$path = $this->getPath();
$filename = $path . $this->_controllerNames($controllerName) . 'Controller.php';
$filename = $path . $this->_controllerName($controllerName) . 'Controller.php';
if ($this->createFile($filename, $contents)) {
return $contents;
}