Skip to content

Commit 7a13684

Browse files
authored
Merge pull request mastodon#118 from CrossGate-Pawoo/fix_filters_auth
Fix missing authentication call in filters controller (mastodon#12746)
2 parents e212e05 + 046ca24 commit 7a13684

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)