test/app_root/config/routes.rb in param_protected-1.3.1 vs test/app_root/config/routes.rb in param_protected-2.0.0
- old
+ new
@@ -1,4 +1,3 @@
-ActionController::Routing::Routes.draw do |map|
- map.connect ':controller/:action/:id'
- map.connect ':controller/:action/:id.:format'
+TestApp::Application.routes.draw do
+ match ':controller(/:action(/:id(.:format)))'
end