Skip to content

Commit

Permalink
php artisan make:module Blog -Q (#261)
Browse files Browse the repository at this point in the history
prior `--quick` option gave me this " [ErrorException]  Undefined index: basename "
  • Loading branch information
talbergs authored and kaidesu committed Dec 20, 2016
1 parent 8cf1cea commit 2730f7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Console/Generators/MakeModuleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public function fire()
$this->container['description'] = 'This is the description for the '.$this->container['name'].' module.';

if ($this->option('quick')) {
$this->container['basename'] = studly_case($this->container['slug']);
$this->container['namespace'] = config('modules.namespace').$this->container['basename'];
return $this->generate();
}

Expand Down

0 comments on commit 2730f7c

Please sign in to comment.