Skip to content

Commit

Permalink
Improved commands
Browse files Browse the repository at this point in the history
  • Loading branch information
libern committed Aug 29, 2016
1 parent 48e9d4b commit 2e34b2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ class ControllerCommand extends Command
*
* @var string
*/
protected $name = 'starter:resource';
protected $name = 'starter:controller';

/**
* The description of command.
*
* @var string
*/
protected $description = 'Create a new RESTfull controller.';
protected $description = 'Create a new Restful controller.';

/**
* The type of class being generated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function fire()
if ($this->confirm('Would you like to create a Controller? [y|N]')) {

// Generate a controller resource
$this->call('starter:resource', [
$this->call('starter:controller', [
'name' => $this->argument('name'),
'--force' => $this->option('force')
]);
Expand Down

0 comments on commit 2e34b2b

Please sign in to comment.