spec/dummy/app/controllers/application_controller.rb in rails-uploader-0.5.8 vs spec/dummy/app/controllers/application_controller.rb in rails-uploader-0.5.9
- old
+ new
@@ -1,3 +1,4 @@
class ApplicationController < ActionController::Base
- protect_from_forgery
+ # Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
+ allow_browser versions: :modern
end