aboutsummaryrefslogblamecommitdiffstats
path: root/railties/configs/routes.rb
blob: 7bd368b1081b511c441b17aba910b8964060540f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11






                                                                                    



                                                                  



                                                     
ActionController::Routing::Routes.draw do |map|
  # Add your own custom routes here.
  # The priority is based upon order of creation: first created -> highest priority.
  
  # Here's a sample route:
  # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
  # Keep in mind you can assign values other than :controller and :action

  # Allow downloading Web Service WSDL as a file with an extension
  # instead of a file named 'wsdl'
  map.connect ':controller/service.wsdl', :action => 'wsdl'
  
  # Install the default route as the lowest priority.
  map.connect ':controller/:action/:id'
end