Skip to content

Instantly share code, notes, and snippets.

@adamdilek
Created November 27, 2011 22:40
Show Gist options
  • Save adamdilek/1398329 to your computer and use it in GitHub Desktop.
Save adamdilek/1398329 to your computer and use it in GitHub Desktop.
rake routes
c:\Sites\web-ser>rake routes
new_user_session GET /users/sign_in(.:format) {:acti
on=>"new", :controller=>"devise/sessions"}
user_session POST /users/sign_in(.:format) {:acti
on=>"create", :controller=>"devise/sessions"}
destroy_user_session DELETE /users/sign_out(.:format) {:acti
on=>"destroy", :controller=>"devise/sessions"}
user_password POST /users/password(.:format) {:acti
on=>"create", :controller=>"devise/passwords"}
new_user_password GET /users/password/new(.:format) {:acti
on=>"new", :controller=>"devise/passwords"}
edit_user_password GET /users/password/edit(.:format) {:acti
on=>"edit", :controller=>"devise/passwords"}
PUT /users/password(.:format) {:acti
on=>"update", :controller=>"devise/passwords"}
cancel_user_registration GET /users/cancel(.:format) {:acti
on=>"cancel", :controller=>"devise/registrations"}
user_registration POST /users(.:format) {:acti
on=>"create", :controller=>"devise/registrations"}
new_user_registration GET /users/sign_up(.:format) {:acti
on=>"new", :controller=>"devise/registrations"}
edit_user_registration GET /users/edit(.:format) {:acti
on=>"edit", :controller=>"devise/registrations"}
PUT /users(.:format) {:acti
on=>"update", :controller=>"devise/registrations"}
DELETE /users(.:format) {:acti
on=>"destroy", :controller=>"devise/registrations"}
universities_index GET /universities/index(.:format) {:cont
roller=>"universities", :action=>"index"}
universities_list GET /universities/list(.:format) {:cont
roller=>"universities", :action=>"list"}
address_index GET /address/index(.:format) {:cont
roller=>"address", :action=>"index"}
address_provinces GET /address/provinces(.:format) {:cont
roller=>"address", :action=>"provinces"}
address_counties GET /address/counties(.:format) {:cont
roller=>"address", :action=>"counties"}
address_regions GET /address/regions(.:format) {:cont
roller=>"address", :action=>"regions"}
address_street_villages GET /address/street_villages(.:format) {:cont
roller=>"address", :action=>"street_villages"}
countries_index GET /countries/index(.:format) {:cont
roller=>"countries", :action=>"index"}
countries_list GET /countries/list(.:format) {:cont
roller=>"countries", :action=>"list"}
names_index GET /names/index(.:format) {:cont
roller=>"names", :action=>"index"}
names_show GET /names/show(.:format) {:cont
roller=>"names", :action=>"show"}
services_address GET /services/address(.:format) {:acti
on=>"index", :controller=>"services/address"}
POST /services/address(.:format) {:acti
on=>"create", :controller=>"services/address"}
new_services_addres GET /services/address/new(.:format) {:acti
on=>"new", :controller=>"services/address"}
edit_services_addres GET /services/address/:id/edit(.:format) {:acti
on=>"edit", :controller=>"services/address"}
services_addres GET /services/address/:id(.:format) {:acti
on=>"show", :controller=>"services/address"}
PUT /services/address/:id(.:format) {:acti
on=>"update", :controller=>"services/address"}
DELETE /services/address/:id(.:format) {:acti
on=>"destroy", :controller=>"services/address"}
services_countries GET /services/countries(.:format) {:acti
on=>"index", :controller=>"services/countries"}
POST /services/countries(.:format) {:acti
on=>"create", :controller=>"services/countries"}
new_services_country GET /services/countries/new(.:format) {:acti
on=>"new", :controller=>"services/countries"}
edit_services_country GET /services/countries/:id/edit(.:format) {:acti
on=>"edit", :controller=>"services/countries"}
services_country GET /services/countries/:id(.:format) {:acti
on=>"show", :controller=>"services/countries"}
PUT /services/countries/:id(.:format) {:acti
on=>"update", :controller=>"services/countries"}
DELETE /services/countries/:id(.:format) {:acti
on=>"destroy", :controller=>"services/countries"}
services_names GET /services/names(.:format) {:acti
on=>"index", :controller=>"services/names"}
POST /services/names(.:format) {:acti
on=>"create", :controller=>"services/names"}
new_services_name GET /services/names/new(.:format) {:acti
on=>"new", :controller=>"services/names"}
edit_services_name GET /services/names/:id/edit(.:format) {:acti
on=>"edit", :controller=>"services/names"}
services_name GET /services/names/:id(.:format) {:acti
on=>"show", :controller=>"services/names"}
PUT /services/names/:id(.:format) {:acti
on=>"update", :controller=>"services/names"}
DELETE /services/names/:id(.:format) {:acti
on=>"destroy", :controller=>"services/names"}
services_universities GET /services/universities(.:format) {:acti
on=>"index", :controller=>"services/universities"}
POST /services/universities(.:format) {:acti
on=>"create", :controller=>"services/universities"}
new_services_university GET /services/universities/new(.:format) {:acti
on=>"new", :controller=>"services/universities"}
edit_services_university GET /services/universities/:id/edit(.:format) {:acti
on=>"edit", :controller=>"services/universities"}
services_university GET /services/universities/:id(.:format) {:acti
on=>"show", :controller=>"services/universities"}
PUT /services/universities/:id(.:format) {:acti
on=>"update", :controller=>"services/universities"}
DELETE /services/universities/:id(.:format) {:acti
on=>"destroy", :controller=>"services/universities"}
root / {:cont
roller=>"home", :action=>"index"}
/:controller(/:action(/:id(.:format)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment