Skip to content

Instantly share code, notes, and snippets.

@dshafik
Created June 20, 2011 13:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dshafik/1035592 to your computer and use it in GitHub Desktop.
Save dshafik/1035592 to your computer and use it in GitHub Desktop.
* GET /posts {"controller":"posts","action":"index"}
* GET /posts/{:id:\d+} {"controller":"posts","action":"show"}
* GET /posts/add {"controller":"posts","action":"add"}
* PUT /posts {"controller":"posts","action":"create"}
* GET /posts/{:id:\d+}/edit {"controller":"posts","action":"edit"}
* POST /posts/{:id:\d+} {"controller":"posts","action":"update"}
* DELETE /posts/{:id:\d+} {"controller":"posts","action":"delete"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment