-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Description
The resource helper allows to add a singular resource to your routing. With it, the resource :profile call would generate the following routes:
| Method | URL | Action |
|---|---|---|
| GET | /profile/new | new |
| GET | /profile | show |
| PATCH/PUT | /profile | update |
| DELETE | /profile | destroy |
| POST | /profile | create |
Tips
- The change should be done in lib/rage/router/dsl.rb.
- Check the architecture doc that shows how Rage's core components interact with each other.
- Feel free to ask any questions or request help in the comments below!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers