Skip to content

Instantly share code, notes, and snippets.

@missating

missating/blog-routes.txt

Last active Jul 6, 2020
Embed
What would you like to do?
Blog routes table showing the 7 different route for my medium post Restful routes
| NAME | PATH | HTTP VERB | PURPOSE |
|----------|----------------|-----------------|--------------------------------------|
| Index | /blog | GET | Displays all blog post |
| New | /blog/new | GET | Shows new form for new blog entry |
| Create | /blog | POST | Creates a new blog post |
| Show | /blog/:id | GET | Shows one specified blog post |
| Edit | /blog/:id/edit | GET | Shows edit form for one blog post |
| Update | /blog/:id | PUT | Updates a particular blog post |
| Destroy | /blog/:id | DELETE | Deletes a particular blog post |
@ajtran303

This comment has been minimized.

Copy link

@ajtran303 ajtran303 commented Jul 6, 2020

This is really helpful, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment