Skip to content

Commit 046ca24

Browse files
Gargronabcang
authored andcommitted
Fix missing authentication call in filters controller (mastodon#12746)
1 parent 05eeb6f commit 046ca24

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/controllers/filters_controller.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# frozen_string_literal: true
22

33
class FiltersController < ApplicationController
4-
include Authorization
5-
64
layout 'admin'
75

6+
before_action :authenticate_user!
87
before_action :set_filters, only: :index
98
before_action :set_filter, only: [:edit, :update, :destroy]
109
before_action :set_body_classes

0 commit comments

Comments
 (0)