Skip to content

Instantly share code, notes, and snippets.

@danielvlopes
Created December 23, 2008 13:26
Show Gist options
  • Save danielvlopes/39330 to your computer and use it in GitHub Desktop.
Save danielvlopes/39330 to your computer and use it in GitHub Desktop.
accounts GET /accounts {:controller=>"accounts", :action=>"index"}
POST /accounts {:controller=>"accounts", :action=>"create"}
new_account GET /accounts/new {:controller=>"accounts", :action=>"new"}
edit_account GET /accounts/:id/edit {:controller=>"accounts", :action=>"edit"}
account GET /accounts/:id {:controller=>"accounts", :action=>"show"}
PUT /accounts/:id {:controller=>"accounts", :action=>"update"}
DELETE /accounts/:id {:controller=>"accounts", :action=>"destroy"}
account_people GET /accounts/:account_id/people {:controller=>"people", :action=>"index"}
POST /accounts/:account_id/people {:controller=>"people", :action=>"create"}
new_account_person GET /accounts/:account_id/people/new {:controller=>"people", :action=>"new"}
edit_account_person GET /accounts/:account_id/people/:id/edit {:controller=>"people", :action=>"edit"}
account_person GET /accounts/:account_id/people/:id {:controller=>"people", :action=>"show"}
PUT /accounts/:account_id/people/:id {:controller=>"people", :action=>"update"}
DELETE /accounts/:account_id/people/:id {:controller=>"people", :action=>"destroy"}
people GET /people {:controller=>"people", :action=>"index"}
POST /people {:controller=>"people", :action=>"create"}
new_person GET /people/new {:controller=>"people", :action=>"new"}
edit_person GET /people/:id/edit {:controller=>"people", :action=>"edit"}
person GET /people/:id {:controller=>"people", :action=>"show"}
PUT /people/:id {:controller=>"people", :action=>"update"}
DELETE /people/:id {:controller=>"people", :action=>"destroy"}
person_notes GET /people/:person_id/notes {:controller=>"notes", :action=>"index"}
POST /people/:person_id/notes {:controller=>"notes", :action=>"create"}
new_person_note GET /people/:person_id/notes/new {:controller=>"notes", :action=>"new"}
edit_person_note GET /people/:person_id/notes/:id/edit {:controller=>"notes", :action=>"edit"}
person_note GET /people/:person_id/notes/:id {:controller=>"notes", :action=>"show"}
PUT /people/:person_id/notes/:id {:controller=>"notes", :action=>"update"}
DELETE /people/:person_id/notes/:id {:controller=>"notes", :action=>"destroy"}
notes GET /notes {:controller=>"notes", :action=>"index"}
POST /notes {:controller=>"notes", :action=>"create"}
new_note GET /notes/new {:controller=>"notes", :action=>"new"}
edit_note GET /notes/:id/edit {:controller=>"notes", :action=>"edit"}
note GET /notes/:id {:controller=>"notes", :action=>"show"}
PUT /notes/:id {:controller=>"notes", :action=>"update"}
DELETE /notes/:id {:controller=>"notes", :action=>"destroy"}
note_comments GET /notes/:note_id/comments {:controller=>"comments", :action=>"index"}
POST /notes/:note_id/comments {:controller=>"comments", :action=>"create"}
new_note_comment GET /notes/:note_id/comments/new {:controller=>"comments", :action=>"new"}
edit_note_comment GET /notes/:note_id/comments/:id/edit {:controller=>"comments", :action=>"edit"}
note_comment GET /notes/:note_id/comments/:id {:controller=>"comments", :action=>"show"}
PUT /notes/:note_id/comments/:id {:controller=>"comments", :action=>"update"}
DELETE /notes/:note_id/comments/:id {:controller=>"comments", :action=>"destroy"}
comments GET /comments {:controller=>"comments", :action=>"index"}
POST /comments {:controller=>"comments", :action=>"create"}
new_comment GET /comments/new {:controller=>"comments", :action=>"new"}
edit_comment GET /comments/:id/edit {:controller=>"comments", :action=>"edit"}
comment GET /comments/:id {:controller=>"comments", :action=>"show"}
PUT /comments/:id {:controller=>"comments", :action=>"update"}
DELETE /comments/:id {:controller=>"comments", :action=>"destroy"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment