diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/filters_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb index 2b615923f..30cbea638 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_pack |