Kaynağa Gözat

Fix missing authentication call in filters controller (#12746)

master^2
Eugen Rochko 4 yıl önce
committed by GitHub
ebeveyn
işleme
4729341903
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. +1
    -2
      app/controllers/filters_controller.rb

+ 1
- 2
app/controllers/filters_controller.rb Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet