test/stub/rails_apps/mycook/config/routes.rb in passenger-2.1.3 vs test/stub/rails_apps/mycook/config/routes.rb in passenger-2.2.0

- old
+ new

@@ -23,10 +23,10 @@ # # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb) # admin.resources :products # end map.resources :recipes - map.resources :uploads + map.resources :uploads, :collection => { :single => :post } # You can have the root of your site routed with map.root -- just remember to delete public/index.html. map.root :controller => "welcome" # See how all your routes lay out with "rake routes"