Skip to content

Instantly share code, notes, and snippets.

@JohnGoodman
Created March 2, 2011 14:54
Show Gist options
  • Save JohnGoodman/851047 to your computer and use it in GitHub Desktop.
Save JohnGoodman/851047 to your computer and use it in GitHub Desktop.
Rake Routes:
new_user_session GET /login(.:format) {:controller=>"users/sessions", :action=>"new"}
destroy_user_session GET /logout(.:format) {:controller=>"users/sessions", :action=>"destroy"}
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"}
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"}
DELETE /users/:id(.:format) {:action=>"destroy", :controller=>"users"}
companies GET /companies(.:format) {:action=>"index", :controller=>"companies"}
POST /companies(.:format) {:action=>"create", :controller=>"companies"}
new_company GET /companies/new(.:format) {:action=>"new", :controller=>"companies"}
edit_company GET /companies/:id/edit(.:format) {:action=>"edit", :controller=>"companies"}
company GET /companies/:id(.:format) {:action=>"show", :controller=>"companies"}
PUT /companies/:id(.:format) {:action=>"update", :controller=>"companies"}
DELETE /companies/:id(.:format) {:action=>"destroy", :controller=>"companies"}
available_canidates_trip GET /trips/:id/available_canidates(.:format) {:action=>"available_canidates", :controller=>"trips"}
trip_temp_users GET /trips/:trip_id/temp_users(.:format) {:action=>"index", :controller=>"temp_users"}
POST /trips/:trip_id/temp_users(.:format) {:action=>"create", :controller=>"temp_users"}
new_trip_temp_user GET /trips/:trip_id/temp_users/new(.:format) {:action=>"new", :controller=>"temp_users"}
edit_temp_user GET /temp_users/:id/edit(.:format) {:action=>"edit", :controller=>"temp_users"}
temp_user GET /temp_users/:id(.:format) {:action=>"show", :controller=>"temp_users"}
PUT /temp_users/:id(.:format) {:action=>"update", :controller=>"temp_users"}
DELETE /temp_users/:id(.:format) {:action=>"destroy", :controller=>"temp_users"}
trips GET /trips(.:format) {:action=>"index", :controller=>"trips"}
POST /trips(.:format) {:action=>"create", :controller=>"trips"}
new_trip GET /trips/new(.:format) {:action=>"new", :controller=>"trips"}
edit_trip GET /trips/:id/edit(.:format) {:action=>"edit", :controller=>"trips"}
trip GET /trips/:id(.:format) {:action=>"show", :controller=>"trips"}
PUT /trips/:id(.:format) {:action=>"update", :controller=>"trips"}
DELETE /trips/:id(.:format) {:action=>"destroy", :controller=>"trips"}
roles GET /roles(.:format) {:action=>"index", :controller=>"roles"}
POST /roles(.:format) {:action=>"create", :controller=>"roles"}
new_role GET /roles/new(.:format) {:action=>"new", :controller=>"roles"}
edit_role GET /roles/:id/edit(.:format) {:action=>"edit", :controller=>"roles"}
role GET /roles/:id(.:format) {:action=>"show", :controller=>"roles"}
PUT /roles/:id(.:format) {:action=>"update", :controller=>"roles"}
DELETE /roles/:id(.:format) {:action=>"destroy", :controller=>"roles"}
contacts GET /contacts(.:format) {:action=>"index", :controller=>"contacts"}
POST /contacts(.:format) {:action=>"create", :controller=>"contacts"}
new_contact GET /contacts/new(.:format) {:action=>"new", :controller=>"contacts"}
edit_contact GET /contacts/:id/edit(.:format) {:action=>"edit", :controller=>"contacts"}
contact GET /contacts/:id(.:format) {:action=>"show", :controller=>"contacts"}
PUT /contacts/:id(.:format) {:action=>"update", :controller=>"contacts"}
DELETE /contacts/:id(.:format) {:action=>"destroy", :controller=>"contacts"}
slots GET /slots(.:format) {:action=>"index", :controller=>"slots"}
POST /slots(.:format) {:action=>"create", :controller=>"slots"}
new_slot GET /slots/new(.:format) {:action=>"new", :controller=>"slots"}
edit_slot GET /slots/:id/edit(.:format) {:action=>"edit", :controller=>"slots"}
slot GET /slots/:id(.:format) {:action=>"show", :controller=>"slots"}
PUT /slots/:id(.:format) {:action=>"update", :controller=>"slots"}
DELETE /slots/:id(.:format) {:action=>"destroy", :controller=>"slots"}
assigned_trips GET /assigned_trips(.:format) {:action=>"index", :controller=>"assigned_trips"}
POST /assigned_trips(.:format) {:action=>"create", :controller=>"assigned_trips"}
new_assigned_trip GET /assigned_trips/new(.:format) {:action=>"new", :controller=>"assigned_trips"}
edit_assigned_trip GET /assigned_trips/:id/edit(.:format) {:action=>"edit", :controller=>"assigned_trips"}
assigned_trip GET /assigned_trips/:id(.:format) {:action=>"show", :controller=>"assigned_trips"}
PUT /assigned_trips/:id(.:format) {:action=>"update", :controller=>"assigned_trips"}
DELETE /assigned_trips/:id(.:format) {:action=>"destroy", :controller=>"assigned_trips"}
updateslots /updateslots(.:format) {:action=>"updates", :controller=>"slots"}
root /(.:format) {:controller=>"contacts", :action=>"index"}
page GET /pages/:id(.:format) {:action=>"show", :controller=>"high_voltage/pages"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment