Fix #4278: Certain users are unable to use the report function.

This commit is contained in:
evazion
2020-01-30 12:35:05 -06:00
parent d29b88d43b
commit e715bfad8a
2 changed files with 16 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
class ModerationReportsController < ApplicationController
respond_to :html, :xml, :json, :js
before_action :builder_only, only: [:new, :create]
before_action :member_only, only: [:new, :create]
before_action :moderator_only, only: [:index]
def new