diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-01-03 05:29:08 +0100 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-20 23:09:27 -0600 |
commit | 591117feed5246cf4c96638b3b41ed54dd0c5315 (patch) | |
tree | db37a38e0ef89f45cb3de5de11c83e8f352744b1 | |
parent | 62a60cb282cec58cdbc0b5bded99d0a5a76ceb22 (diff) |
Fix missing authentication call in filters controller (#12746)
-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 |