test/stub/rails2.3/config/routes.rb in passenger-4.0.30 vs test/stub/rails2.3/config/routes.rb in passenger-4.0.31
- old
+ new
@@ -23,14 +23,13 @@
# # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
# admin.resources :products
# end
# You can have the root of your site routed with map.root -- just remember to delete public/index.html.
- # map.root :controller => "welcome"
+ map.root :controller => 'foo', :action => 'new'
# See how all your routes lay out with "rake routes"
# Install the default routes as the lowest priority.
- map.connect '/hello', :controller => 'foo', :action => 'new'
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
end