Sha256: 148ff53a73ce2d5058cb8c84f106653f51bd19bf9dc40e49c18ce0e3de1a8711

Contents?: true

Size: 614 Bytes

Versions: 2

Compression:

Stored size: 614 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-0.10.0 configs/routes.rb
rails-0.10.1 configs/routes.rb