mods: remove ability to manually perform mass edits.
Remove the ability for mods to manually perform mass edits without going through the forum.
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
module Moderator
|
||||
class TagsController < ApplicationController
|
||||
before_action :moderator_only
|
||||
|
||||
def edit
|
||||
end
|
||||
|
||||
def update
|
||||
TagBatchChangeJob.perform_later(params[:tag][:antecedent], params[:tag][:consequent], CurrentUser.user, CurrentUser.ip_addr)
|
||||
redirect_to edit_moderator_tag_path, :notice => "Post changes queued"
|
||||
end
|
||||
|
||||
def error
|
||||
redirect_to edit_moderator_tag_path, :notice => "Error"
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user