Skip to content

Instantly share code, notes, and snippets.

@zonayedpca
Forked from alexpchin/restful_routes.md
Created February 6, 2018 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zonayedpca/06e0ceb3c3011bbc6d61262990576704 to your computer and use it in GitHub Desktop.
Save zonayedpca/06e0ceb3c3011bbc6d61262990576704 to your computer and use it in GitHub Desktop.
7 Restful Routes
URL HTTP Verb Action
/photos/ GET index
/photos/new GET new
/photos POST create
/photos/:id GET show
/photos/:id/edit GET edit
/photos/:id PATCH/PUT update
/photos/:id DELETE destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment