Skip to content

Instantly share code, notes, and snippets.

@jacortinas
Created May 17, 2010 23:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacortinas/404373 to your computer and use it in GitHub Desktop.
Save jacortinas/404373 to your computer and use it in GitHub Desktop.
(in /Users/jacortinas/Projects/fitly)
GET /login {:controller=>"sessions", :action=>"new"}
login POST /login {:controller=>"session", :action=>"create"}
logout DELETE /logout {:controller=>"sessions", :action=>"destroy"}
register /register {:controller=>"users", :action=>"new"}
new_facebook_user /connect/new {:controller=>"facebook_users", :action=>"new"}
facebook_users_callback /connect/callback {:controller=>"facebook_users", :action=>"oauth_callback"}
edit_profile /edit_profile {:controller=>"users", :action=>"edit"}
profile /:user_id {:controller=>"users", :action=>"profile"}
root / {:controller=>"users", :action=>"show"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment