-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Change routes name #166
Comments
Another issue related to generated routes. This:
Should be:
Or:
Or just remove it and can be added globally in RouteServiceProvider:
|
I forgot one thing. A simple solution could be also just single line for each resource like:
Also update, show and delete routes better to keep like standard param just after resource name. Example:
|
I could not find where to ask a question. It seems my implementation will not do deletes. Could you point me in the right direction? WEB.PHP VIEW {{ csrf_field() }}CONTROLLER
Thanks... |
Is there a benefit of changing this? |
Is your feature request related to a problem? Please describe.
When I create a scaffold for a model name "Dummy", the route name are like:
'dummies.dummy.index'
'dummies.dummy.create'
etc...
Describe the solution you'd like
I think should be like:
'dummies.index'
'dummies.create'
etc...
Or am I missing something?
I run the following commands, without any customization of config or anything else:
Also since there is usage of group(), name base could be added like so:
The text was updated successfully, but these errors were encountered: