about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-01-03 05:29:08 +0100
committerGitHub <noreply@github.com>2020-01-03 05:29:08 +0100
commit47293419034ed64e5d75e8f60621824762edb967 (patch)
treee32b0bf990a713a7add84898e0fb79d106fb0f84
parent83deae5bd7adf37550bb8e14d1ec696a84555c39 (diff)
Fix missing authentication call in filters controller (#12746)
-rw-r--r--app/controllers/filters_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb
index d2e0fb739..63d9d9cd3 100644
--- a/app/controllers/filters_controller.rb
+++ b/app/controllers/filters_controller.rb
@@ -1,10 +1,9 @@
 # frozen_string_literal: true
 
 class FiltersController < ApplicationController
-  include Authorization
-
   layout 'admin'
 
+  before_action :authenticate_user!
   before_action :set_filters, only: :index
   before_action :set_filter, only: [:edit, :update, :destroy]
   before_action :set_body_classes