Update application_controller.rb
This commit is contained in:
parent
59a3f792c6
commit
111fd85ebb
@ -1,6 +1,7 @@
|
|||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
include SeoConcern
|
include SeoConcern
|
||||||
# Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
|
# 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
|
||||||
allow_browser versions: :modern,
|
allow_browser versions: :modern,
|
||||||
patterns: [
|
patterns: [
|
||||||
@ -38,7 +39,6 @@ class ApplicationController < ActionController::Base
|
|||||||
BROWSER_INFO
|
BROWSER_INFO
|
||||||
}
|
}
|
||||||
before_action :set_locale
|
before_action :set_locale
|
||||||
before_action :log_browser_info
|
|
||||||
after_action :track_action
|
after_action :track_action
|
||||||
|
|
||||||
def log_browser_info
|
def log_browser_info
|
||||||
|
Loading…
Reference in New Issue
Block a user