更新 application_controller.rb

This commit is contained in:
TianLun Song 2025-01-27 06:53:01 +08:00 committed by GitHub
parent 978cec359e
commit a16b14c7ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
class ApplicationController < ActionController::Base
include SeoConcern
# Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
allow_browser versions: :modern
# allow_browser versions: :modern
before_action :set_locale
after_action :track_action