Skip to content

Instantly share code, notes, and snippets.

@hannahwhy
Created April 18, 2012 07:49
Show Gist options
  • Select an option

  • Save hannahwhy/2411835 to your computer and use it in GitHub Desktop.

Select an option

Save hannahwhy/2411835 to your computer and use it in GitHub Desktop.
root PUT|POST / front_page#update
root / front_page#show
edit /edit(.:format) front_page#edit
login GET /login(.:format) sessions#login
POST /login(.:format) sessions#create
logout /logout(.:format) sessions#destroy
videos GET /videos(.:format) videos#index
POST /videos(.:format) videos#create
new_video GET /videos/new(.:format) videos#new
edit_video GET /videos/:id/edit(.:format) videos#edit
video GET /videos/:id(.:format) videos#show
PUT /videos/:id(.:format) videos#update
DELETE /videos/:id(.:format) videos#destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment