Skip to content

Commit

Permalink
Fix missing authentication call in filters controller (mastodon#12746)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored and multiple creatures committed Feb 21, 2020
1 parent 62a60cb commit 591117f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/controllers/filters_controller.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 591117f

Please sign in to comment.