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

Router generates wrong route for resource delete method #84

Closed
lazycoder9 opened this issue Aug 15, 2020 · 0 comments
Closed

Router generates wrong route for resource delete method #84

lazycoder9 opened this issue Aug 15, 2020 · 0 comments

Comments

@lazycoder9
Copy link
Contributor

Example

buildSession        GET    /session/build                          browser
sessions            POST   /session                                browser
session             GET    /session                                browser
editSession         GET    /session/edit                           browser
session             PATCH  /session                                browser
session             PUT    /session                                browser
session             DELETE /session                                browser

What we have:

session               DELETE /session                                browser

What should we have:

destroySession        DELETE /session                                browser
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