mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix for regression introduced in last commit
This commit is contained in:
parent
3f7928fccc
commit
8ce605ab88
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue