public
Last active

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
root /(.:format) {:controller=>"users", :action=>"new"}
sessions POST /sessions(.:format) {:action=>"create", :controller=>"sessions"}
new_session GET /sessions/new(.:format) {:action=>"new", :controller=>"sessions"}
session DELETE /sessions/:id(.:format) {:action=>"destroy", :controller=>"sessions"}
user_favorite GET /users/:user_id/favorites/:id(.:format) {:action=>"show", :controller=>"favorites"}
PUT /users/:user_id/favorites/:id(.:format) {:action=>"update", :controller=>"favorites"}
user_profile GET /users/:user_id/profile/:id(.:format) {:action=>"show", :controller=>"profile"}
PUT /users/:user_id/profile/:id(.:format) {:action=>"update", :controller=>"profile"}
users GET /users(.:format) {:action=>"index", :controller=>"users"}
POST /users(.:format) {:action=>"create", :controller=>"users"}
new_user GET /users/new(.:format) {:action=>"new", :controller=>"users"}
edit_user GET /users/:id/edit(.:format) {:action=>"edit", :controller=>"users"}
user GET /users/:id(.:format) {:action=>"show", :controller=>"users"}
PUT /users/:id(.:format) {:action=>"update", :controller=>"users"}
signup /signup(.:format) {:action=>"new", :controller=>"users"}
signout /signout(.:format) {:action=>"destroy", :controller=>"sessions"}
signin /signin(.:format) {:action=>"new", :controller=>"sessions"}
 
/:id/home(.:format) {:controller=>"users", :action=>"show"}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.