Skip to content

Commit

Permalink
tweak default and message
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 27, 2017
1 parent 350595c commit 382b78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Console/ControllerMakeCommand.php
Expand Up @@ -75,7 +75,7 @@ protected function buildClass($name)
$modelClass = $this->parseModel($this->option('model'));

if (! class_exists($modelClass)) {
if ($this->confirm("The model $modelClass does not exist. Do you want to generate it?")) {
if ($this->confirm("A {$modelClass} model not exist. Do you want to generate it?", true)) {
$this->call('make:model', ['name' => $modelClass]);
}
}
Expand Down

1 comment on commit 382b78c

@marky291
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad English?

Please sign in to comment.