summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/floc_opt_out.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/floc_opt_out.rb')
-rw-r--r--app/controllers/concerns/floc_opt_out.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/floc_opt_out.rb b/app/controllers/concerns/floc_opt_out.rb
index 3039af02bbb..50a52cecda9 100644
--- a/app/controllers/concerns/floc_opt_out.rb
+++ b/app/controllers/concerns/floc_opt_out.rb
@@ -4,7 +4,7 @@ module FlocOptOut
extend ActiveSupport::Concern
included do
- after_action :set_floc_opt_out_header, unless: :floc_enabled?
+ before_action :set_floc_opt_out_header, unless: :floc_enabled?
end
def floc_enabled?