diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 3ee504d..aab0f94 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +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. + before_action :log_browser_info # allow_browser versions: :modern allow_browser versions: :modern, patterns: [ @@ -38,7 +39,6 @@ class ApplicationController < ActionController::Base BROWSER_INFO } before_action :set_locale - before_action :log_browser_info after_action :track_action def log_browser_info