From 643d06dcff2d736e7091cdcfab7e16309346bf2d Mon Sep 17 00:00:00 2001 From: r888888888 Date: Thu, 29 Sep 2016 11:54:49 -0700 Subject: [PATCH] remove reference to janitor_only --- app/controllers/reports_controller.rb | 2 +- app/controllers/user_reverts_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index 8476f391e..be8ba16f5 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -1,7 +1,7 @@ class ReportsController < ApplicationController before_filter :member_only before_filter :gold_only, :only => [:similar_users] - before_filter :janitor_only, :only => [:post_versions, :post_versions_create] + before_filter :moderator_only, :only => [:post_versions, :post_versions_create] def user_promotions @report = Reports::UserPromotions.new diff --git a/app/controllers/user_reverts_controller.rb b/app/controllers/user_reverts_controller.rb index 8dbc3ff13..6f1513426 100644 --- a/app/controllers/user_reverts_controller.rb +++ b/app/controllers/user_reverts_controller.rb @@ -1,5 +1,5 @@ class UserRevertsController < ApplicationController - before_filter :janitor_only + before_filter :moderator_only def new @user = User.find(params[:user_id])