diff --git a/app/controllers/moderator/tags_controller.rb b/app/controllers/moderator/tags_controller.rb deleted file mode 100644 index 66dd7b67f..000000000 --- a/app/controllers/moderator/tags_controller.rb +++ /dev/null @@ -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 diff --git a/app/views/moderator/tags/edit.html.erb b/app/views/moderator/tags/edit.html.erb deleted file mode 100644 index 75978f735..000000000 --- a/app/views/moderator/tags/edit.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -<% page_title "Mass Edit" %> - -
-
-

Mass Edit

- - <%= edit_form_for(:tag, url: moderator_tag_path, method: :put) do |f| %> - <%= f.input :antecedent, input_html: { value: params[:antecedent], "data-autocomplete": "tag-query" } %> - <%= f.input :consequent, input_html: { value: params[:consequent], "data-autocomplete": "tag-edit" } %> - <%= f.submit "Submit" %> - <% end %> -
-
diff --git a/app/views/static/site_map.html.erb b/app/views/static/site_map.html.erb index 442c77bda..5dc18a083 100644 --- a/app/views/static/site_map.html.erb +++ b/app/views/static/site_map.html.erb @@ -16,9 +16,6 @@ <% if CurrentUser.can_approve_posts? %>
  • <%= link_to("Moderate", moderator_post_queue_path) %>
  • <% end %> - <% if CurrentUser.is_moderator? %> -
  • <%= link_to("Mass Edit", edit_moderator_tag_path) %>
  • - <% end %>