Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.4] Simplify the command to generate resource controllers from make:model #17955

Merged
merged 1 commit into from
Feb 16, 2017

Conversation

sileence
Copy link
Contributor

This PR allows:

php artisan make:model Something --resource

To generate a resource controller bind to a model, specifying both controller and resource options is no longer necessary:

php artisan make:model Something --controller --resource

@taylorotwell taylorotwell merged commit 48e6c09 into laravel:5.4 Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants