Sha256: a6586fdae248a44dd1d0c3a1cbaaea8e0e6e2773fc00e1afdeeb8e09406a1b72

Contents?: true

Size: 336 Bytes

Versions: 16

Compression:

Stored size: 336 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  
  map.root :controller => 'default', :action => 'index'
  
  map.resources :profiles
  map.resources :users, :has_one => :profile
    
  # Install the default routes as the lowest priority.
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
  
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
muck-commerce-0.2.8 test/rails_root/config/routes.rb
muck-commerce-0.2.7 test/rails_root/config/routes.rb
muck-commerce-0.2.6 test/rails_root/config/routes.rb
muck-commerce-0.2.5 test/rails_root/config/routes.rb
muck-commerce-0.2.4 test/rails_root/config/routes.rb
muck-commerce-0.2.3 test/rails_root/config/routes.rb
muck-commerce-0.2.2 test/rails_root/config/routes.rb
muck-commerce-0.2.1 test/rails_root/config/routes.rb
muck-commerce-0.2.0 test/rails_root/config/routes.rb
muck-commerce-0.1.9 test/rails_root/config/routes.rb
muck-commerce-0.1.8 test/rails_root/config/routes.rb
muck-profiles-0.1.18 test/rails_root/config/routes.rb
muck-profiles-0.1.17 test/rails_root/config/routes.rb
muck-profiles-0.1.16 test/rails_root/config/routes.rb
muck-profiles-0.1.15 test/rails_root/config/routes.rb
muck-profiles-0.1.14 test/rails_root/config/routes.rb