Skip to content

Commit

Permalink
[generate:controller] Add default value. Fix #3719. (#3722)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas authored Jan 22, 2018
1 parent 0fb1b34 commit 7f8a6eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Command/Generate/ControllerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ function ($class) {
while (true) {
$title = $this->getIo()->askEmpty(
$this->trans('commands.generate.controller.questions.title'),
'',
function ($title) use ($routes) {
if ($routes && empty(trim($title))) {
return false;
Expand Down

0 comments on commit 7f8a6eb

Please sign in to comment.