Restful Routing Flashcards
1
Q
What are the 7 Restful Routes?
A
index, new, create, show, edit, update, destroy
2
Q
What does the “new” route do?
A
shows the forum to create a new entry
3
Q
What does the “edit” route do?
A
shows the forum to update an existing entry
4
Q
What are the verbs for each of the restful routes?
A
index - get new - get create - post show - get edit - get update - put/patch destroy - delete
5
Q
What does the “show” route do?
A
takes a unique identifier for a specific item in the path and returns page/data specific to that item