Skip to content

@iwasrobbed /gist:864769
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.