Skip to content

Instantly share code, notes, and snippets.

@mikesjewett
Created September 24, 2012 18:46
Show Gist options
  • Save mikesjewett/3777569 to your computer and use it in GitHub Desktop.
Save mikesjewett/3777569 to your computer and use it in GitHub Desktop.
sample rake routes
meeting_comments POST /meetings/:meeting_id/comments(.:format) comments#create
meeting_comment DELETE /meetings/:meeting_id/comments/:id(.:format) comments#destroy
meeting_meeting_users POST /meetings/:meeting_id/meeting_users(.:format) meeting_users#create
meeting_meeting_user PUT /meetings/:meeting_id/meeting_users/:id(.:format) meeting_users#update
DELETE /meetings/:meeting_id/meeting_users/:id(.:format) meeting_users#destroy
meetings GET /meetings(.:format) meetings#index
POST /meetings(.:format) meetings#create
new_meeting GET /meetings/new(.:format) meetings#new
edit_meeting GET /meetings/:id/edit(.:format) meetings#edit
meeting GET /meetings/:id(.:format) meetings#show
PUT /meetings/:id(.:format) meetings#update
DELETE /meetings/:id(.:format) meetings#destroy
sessions POST /sessions(.:format) sessions#create
new_session GET /sessions/new(.:format) sessions#new
session DELETE /sessions/:id(.:format) sessions#destroy
users GET /users(.:format) users#index
POST /users(.:format) users#create
new_user GET /users/new(.:format) users#new
edit_user GET /users/:id/edit(.:format) users#edit
user GET /users/:id(.:format) users#show
PUT /users/:id(.:format) users#update
DELETE /users/:id(.:format) users#destroy
root / static_pages#home
signup /signup(.:format) users#new
signin /signin(.:format) sessions#new
signout DELETE /signout(.:format) sessions#destroy
about /about(.:format) static_pages#about
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment