From 8ce605ab888bf7e1aab7b7f5f54c31ae0e55bac9 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Wed, 16 Mar 2011 00:28:08 -0400 Subject: [PATCH] Fix for regression introduced in last commit --- lib/Cake/Console/Command/Task/ControllerTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Console/Command/Task/ControllerTask.php b/lib/Cake/Console/Command/Task/ControllerTask.php index e621742f9..cdea1e1d5 100644 --- a/lib/Cake/Console/Command/Task/ControllerTask.php +++ b/lib/Cake/Console/Command/Task/ControllerTask.php @@ -314,7 +314,7 @@ class ControllerTask extends BakeTask { $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; }