1 ActionController::Routing::Routes.draw do |map|
2 # Add your own custom routes here.
3 # The priority is based upon order of creation: first created -> highest priority.
5 # Here's a sample route:
6 # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
7 # Keep in mind you can assign values other than :controller and :action
9 # You can have the root of your site routed by hooking up ''
10 # -- just remember to delete public/index.html.
11 # map.connect '', :controller => "welcome"
13 # Allow downloading Web Service WSDL as a file with an extension
14 # instead of a file named 'wsdl'
15 map.connect ':controller/service.wsdl', :action => 'wsdl'
17 # Install the default route as the lowest priority.
18 map.connect ':controller/:action/:id'