Skip to content

Instantly share code, notes, and snippets.

@missating
Last active March 5, 2023 09:25
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save missating/0de6f4518df9ffa40352676fb05847dc to your computer and use it in GitHub Desktop.
Save missating/0de6f4518df9ffa40352676fb05847dc to your computer and use it in GitHub Desktop.
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
Copy link

This is really helpful, thank you!

@EshuShango
Copy link

Thank you, this is very helpful 👌

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