spec/rails_app/config/routes.rb in audited-4.2.2 vs spec/rails_app/config/routes.rb in audited-4.3.0
- old
+ new
@@ -1,6 +1,3 @@
Rails.application.routes.draw do
-
- # This is a legacy wild controller route that's not recommended for RESTful applications.
- # Note: This route will make all actions in every controller accessible via GET requests.
- match ':controller(/:action(/:id(.:format)))', via: [:get, :post, :put, :delete]
+ resources :audits
end