admins: remove ability to manually process BURs.

Remove the ability for admins to manually submit BURs without going
through the forum.
This commit is contained in:
evazion
2020-02-26 16:32:12 -06:00
parent e1fd3f6ed9
commit 29ed12b238
4 changed files with 0 additions and 41 deletions

View File

@@ -1,15 +0,0 @@
module Admin
class AliasAndImplicationImportsController < ApplicationController
before_action :admin_only
def new
end
def create
@importer = AliasAndImplicationImporter.new(params[:batch][:text], params[:batch][:forum_id], params[:batch][:rename_aliased_pages])
@importer.process!
flash[:notice] = "Import queued"
redirect_to new_admin_alias_and_implication_import_path
end
end
end