Sha256: a43dda105933c93f816eec26c8239c1458b5602ff472a6db40388427f0d14215

Contents?: true

Size: 922 Bytes

Versions: 24

Compression:

Stored size: 922 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  # The priority is based upon order of creation: first created -> highest priority.
  
  # Sample of regular route:
  # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
  # Keep in mind you can assign values other than :controller and :action

  # Sample of named route:
  # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
  # This route can be invoked with purchase_url(:id => product.id)

  # You can have the root of your site routed by hooking up '' 
  # -- just remember to delete public/index.html.
  # map.connect '', :controller => "welcome"

  # 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

24 entries across 24 versions & 4 rubygems

Version Path
enhanced_migrations-1.2.1 config/routes.rb
enhanced_migrations-1.2.0 config/routes.rb
rails-1.1.1 configs/routes.rb
rails-1.1.0 configs/routes.rb
rails-1.1.2 configs/routes.rb
rails-1.1.4 configs/routes.rb
rails-1.1.3 configs/routes.rb
rails-1.1.5 configs/routes.rb
rails-1.1.6 configs/routes.rb
railscart-0.0.1 starter-app/vendor/plugins/paginating_find/test_app/config/routes.rb
railscart-0.0.2 starter_app/vendor/plugins/paginating_find/test_app/config/routes.rb
railscart-0.0.3 starter_app/vendor/plugins/paginating_find/test_app/config/routes.rb
railscart-0.0.4 starter_app/vendor/plugins/paginating_find/test_app/config/routes.rb
spree-0.0.5 starter-app/vendor/plugins/paginating_find/test_app/config/routes.rb
spree-0.0.6 starter-app/vendor/plugins/paginating_find/test_app/config/routes.rb
spree-0.0.7 starter-app/vendor/plugins/paginating_find/test_app/config/routes.rb
spree-0.0.9 lib/plugins/paginating_find/test_app/config/routes.rb
spree-0.0.8 starter-app/vendor/plugins/paginating_find/test_app/config/routes.rb
spree-0.2.0 lib/plugins/paginating_find/test_app/config/routes.rb
spree-0.4.0 lib/plugins/paginating_find/test_app/config/routes.rb