Skip to content

Instantly share code, notes, and snippets.

@jeremybwilson
Forked from alexpchin/restful_routes.md
Created August 24, 2018 21:01
Show Gist options
  • Save jeremybwilson/17d1dc602c88e59f9d893969ef1fc4ed to your computer and use it in GitHub Desktop.
Save jeremybwilson/17d1dc602c88e59f9d893969ef1fc4ed to your computer and use it in GitHub Desktop.

Revisions

  1. @alexpchin alexpchin revised this gist Mar 26, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion restful_routes.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    | **URL** | **HTTP Verb** | **Action**|
    |------------|-------------|------------|
    | /photos/ | GET | index
    | /photos/ | GET | new
    | /photos/new | GET | new
    | /photos | POST | create
    | /photos/:id | GET | show
    | /photos/:id/edit | GET | edit
  2. @alexpchin alexpchin created this gist Mar 25, 2015.
    9 changes: 9 additions & 0 deletions restful_routes.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    | **URL** | **HTTP Verb** | **Action**|
    |------------|-------------|------------|
    | /photos/ | GET | index
    | /photos/ | GET | new
    | /photos | POST | create
    | /photos/:id | GET | show
    | /photos/:id/edit | GET | edit
    | /photos/:id | PATCH/PUT | update
    | /photos/:id | DELETE | destroy