瀏覽代碼

Fix missing authentication call in filters controller (#12746)

master^2
Eugen Rochko 4 年之前
committed by GitHub
父節點
當前提交
4729341903
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      app/controllers/filters_controller.rb

+ 1
- 2
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_body_classes


Loading…
取消
儲存