Skip to content

Instantly share code, notes, and snippets.

@CodeOfficer
Created March 2, 2009 02:20
Show Gist options
  • Save CodeOfficer/72581 to your computer and use it in GitHub Desktop.
Save CodeOfficer/72581 to your computer and use it in GitHub Desktop.
posts GET /posts {:controller=>"posts", :action=>"index"}
formatted_posts GET /posts.:format {:controller=>"posts", :action=>"index"}
POST /posts {:controller=>"posts", :action=>"create"}
POST /posts.:format {:controller=>"posts", :action=>"create"}
new_post GET /posts/new {:controller=>"posts", :action=>"new"}
formatted_new_post GET /posts/new.:format {:controller=>"posts", :action=>"new"}
edit_post GET /posts/:id/edit {:controller=>"posts", :action=>"edit"}
formatted_edit_post GET /posts/:id/edit.:format {:controller=>"posts", :action=>"edit"}
post GET /posts/:id {:controller=>"posts", :action=>"show"}
formatted_post GET /posts/:id.:format {:controller=>"posts", :action=>"show"}
PUT /posts/:id {:controller=>"posts", :action=>"update"}
PUT /posts/:id.:format {:controller=>"posts", :action=>"update"}
DELETE /posts/:id {:controller=>"posts", :action=>"destroy"}
DELETE /posts/:id.:format {:controller=>"posts", :action=>"destroy"}
post_comments GET /posts/:post_id/comments {:controller=>"comments", :action=>"index"}
formatted_post_comments GET /posts/:post_id/comments.:format {:controller=>"comments", :action=>"index"}
POST /posts/:post_id/comments {:controller=>"comments", :action=>"create"}
POST /posts/:post_id/comments.:format {:controller=>"comments", :action=>"create"}
new_post_comment GET /posts/:post_id/comments/new {:controller=>"comments", :action=>"new"}
formatted_new_post_comment GET /posts/:post_id/comments/new.:format {:controller=>"comments", :action=>"new"}
edit_post_comment GET /posts/:post_id/comments/:id/edit {:controller=>"comments", :action=>"edit"}
formatted_edit_post_comment GET /posts/:post_id/comments/:id/edit.:format {:controller=>"comments", :action=>"edit"}
post_comment GET /posts/:post_id/comments/:id {:controller=>"comments", :action=>"show"}
formatted_post_comment GET /posts/:post_id/comments/:id.:format {:controller=>"comments", :action=>"show"}
PUT /posts/:post_id/comments/:id {:controller=>"comments", :action=>"update"}
PUT /posts/:post_id/comments/:id.:format {:controller=>"comments", :action=>"update"}
DELETE /posts/:post_id/comments/:id {:controller=>"comments", :action=>"destroy"}
DELETE /posts/:post_id/comments/:id.:format {:controller=>"comments", :action=>"destroy"}
post_attachments GET /posts/:post_id/attachments {:controller=>"attachments", :action=>"index"}
formatted_post_attachments GET /posts/:post_id/attachments.:format {:controller=>"attachments", :action=>"index"}
POST /posts/:post_id/attachments {:controller=>"attachments", :action=>"create"}
POST /posts/:post_id/attachments.:format {:controller=>"attachments", :action=>"create"}
new_post_attachment GET /posts/:post_id/attachments/new {:controller=>"attachments", :action=>"new"}
formatted_new_post_attachment GET /posts/:post_id/attachments/new.:format {:controller=>"attachments", :action=>"new"}
edit_post_attachment GET /posts/:post_id/attachments/:id/edit {:controller=>"attachments", :action=>"edit"}
formatted_edit_post_attachment GET /posts/:post_id/attachments/:id/edit.:format {:controller=>"attachments", :action=>"edit"}
post_attachment GET /posts/:post_id/attachments/:id {:controller=>"attachments", :action=>"show"}
formatted_post_attachment GET /posts/:post_id/attachments/:id.:format {:controller=>"attachments", :action=>"show"}
PUT /posts/:post_id/attachments/:id {:controller=>"attachments", :action=>"update"}
PUT /posts/:post_id/attachments/:id.:format {:controller=>"attachments", :action=>"update"}
DELETE /posts/:post_id/attachments/:id {:controller=>"attachments", :action=>"destroy"}
DELETE /posts/:post_id/attachments/:id.:format {:controller=>"attachments", :action=>"destroy"}
post_revisions GET /posts/:post_id/revisions {:controller=>"revisions", :action=>"index"}
formatted_post_revisions GET /posts/:post_id/revisions.:format {:controller=>"revisions", :action=>"index"}
POST /posts/:post_id/revisions {:controller=>"revisions", :action=>"create"}
POST /posts/:post_id/revisions.:format {:controller=>"revisions", :action=>"create"}
new_post_revision GET /posts/:post_id/revisions/new {:controller=>"revisions", :action=>"new"}
formatted_new_post_revision GET /posts/:post_id/revisions/new.:format {:controller=>"revisions", :action=>"new"}
edit_post_revision GET /posts/:post_id/revisions/:id/edit {:controller=>"revisions", :action=>"edit"}
formatted_edit_post_revision GET /posts/:post_id/revisions/:id/edit.:format {:controller=>"revisions", :action=>"edit"}
post_revision GET /posts/:post_id/revisions/:id {:controller=>"revisions", :action=>"show"}
formatted_post_revision GET /posts/:post_id/revisions/:id.:format {:controller=>"revisions", :action=>"show"}
PUT /posts/:post_id/revisions/:id {:controller=>"revisions", :action=>"update"}
PUT /posts/:post_id/revisions/:id.:format {:controller=>"revisions", :action=>"update"}
DELETE /posts/:post_id/revisions/:id {:controller=>"revisions", :action=>"destroy"}
DELETE /posts/:post_id/revisions/:id.:format {:controller=>"revisions", :action=>"destroy"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment