Fix missing authentication call in filters controller (#12746)

th-downstream
Eugen Rochko 5 years ago committed by GitHub
parent 91422d35ed
commit e066de9a3c

@ -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

Loading…
Cancel
Save