Skip to content

Commit

Permalink
controller plurality
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Apr 16, 2017
1 parent 28c3fda commit 4488ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makes/MakeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function __construct(ScaffoldMakeCommand $scaffoldCommand, Filesystem $files)
*/
private function start()
{
$name = $this->scaffoldCommandObj->getObjName('Name') . 'Controller';
$name = $this->scaffoldCommandObj->getObjName('Name') . 'sController';
$path = $this->getPath($name, 'controller');

if ($this->files->exists($path))
Expand Down

0 comments on commit 4488ee2

Please sign in to comment.