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

On php artisan confide:controller --restful #517

Open
leonardollobato opened this issue Mar 11, 2015 · 0 comments
Open

On php artisan confide:controller --restful #517

leonardollobato opened this issue Mar 11, 2015 · 0 comments

Comments

@leonardollobato
Copy link

The flag --restful is causing the generation of non-restful controller and routes.
/generators/controller.blade.php :

public function {{ (! $restful) ? 'create' : 'getCreate' }}()

on the routes.php

ex: Route::controller instead of Route::resource

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

No branches or pull requests

1 participant