Skip to content

Instantly share code, notes, and snippets.

@ni-ka
Created December 20, 2011 17:58
Show Gist options
  • Save ni-ka/1502524 to your computer and use it in GitHub Desktop.
Save ni-ka/1502524 to your computer and use it in GitHub Desktop.
new_user_session GET /users/sign_in(.:format) {:action=>"new", :controller=>"devise/sessions"}
user_session POST /users/sign_in(.:format) {:action=>"create", :controller=>"devise/sessions"}
destroy_user_session DELETE /users/sign_out(.:format) {:action=>"destroy", :controller=>"devise/sessions"}
user_password POST /users/password(.:format) {:action=>"create", :controller=>"devise/passwords"}
new_user_password GET /users/password/new(.:format) {:action=>"new", :controller=>"devise/passwords"}
edit_user_password GET /users/password/edit(.:format) {:action=>"edit", :controller=>"devise/passwords"}
PUT /users/password(.:format) {:action=>"update", :controller=>"devise/passwords"}
cancel_user_registration GET /users/cancel(.:format) {:action=>"cancel", :controller=>"devise/registrations"}
user_registration POST /users(.:format) {:action=>"create", :controller=>"devise/registrations"}
new_user_registration GET /users/sign_up(.:format) {:action=>"new", :controller=>"devise/registrations"}
edit_user_registration GET /users/edit(.:format) {:action=>"edit", :controller=>"devise/registrations"}
PUT /users(.:format) {:action=>"update", :controller=>"devise/registrations"}
DELETE /users(.:format) {:action=>"destroy", :controller=>"devise/registrations"}
home_index GET /home/index(.:format) {:controller=>"home", :action=>"index"}
videos_add /videos/add(.:format) {:controller=>"videos", :action=>"add"}
videos_add_url /videos/add/url(.:format) {:controller=>"videos", :action=>"add_from_url"}
videos GET /videos(.:format) {:action=>"index", :controller=>"videos"}
video GET /videos/:id(.:format) {:action=>"show", :controller=>"videos"}
PUT /videos/:id(.:format) {:action=>"update", :controller=>"videos"}
root / {:controller=>"home", :action=>"index"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment