Skip to content

Commit

Permalink
add option shortcut 'r' for resource. (#16141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathanael Esayeas authored and taylorotwell committed Oct 28, 2016
1 parent b0e5502 commit 03e44e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Console/ControllerMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function getDefaultNamespace($rootNamespace)
protected function getOptions()
{
return [
['resource', null, InputOption::VALUE_NONE, 'Generate a resource controller class.'],
['resource', 'r', InputOption::VALUE_NONE, 'Generate a resource controller class.'],
];
}

Expand Down

0 comments on commit 03e44e6

Please sign in to comment.