Remove /tag_aliases/new and /tag_implications/new
This page is bugged. It creates an alias record without doing anything else like moving the posts. I think it's been like this for years yet nobody noticed so I assume it never gets used and the batch import page is just used instead.
This commit is contained in:
@@ -2,11 +2,7 @@
|
||||
<menu>
|
||||
<li><%= link_to "Listing", tag_aliases_path %></li>
|
||||
<li><%= link_to "MetaSearch", meta_searches_tags_path %></li>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<li><%= link_to "New", new_tag_alias_path %></li>
|
||||
<% else %>
|
||||
<li><%= link_to "Request alias", new_tag_alias_request_path %></li>
|
||||
<% end %>
|
||||
<li><%= link_to "Request alias", new_tag_alias_request_path %></li>
|
||||
<li><%= link_to "Request bulk update", new_bulk_update_request_path %></li>
|
||||
<li><%= link_to "Help", wiki_pages_path(:title => "help:tag_aliases") %></li>
|
||||
</menu>
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<div id="c-tag-aliases">
|
||||
<div id="a-new">
|
||||
<h1>New Tag Alias</h1>
|
||||
|
||||
<%= error_messages_for :tag_alias %>
|
||||
|
||||
<%= simple_form_for(@tag_alias) do |f| %>
|
||||
<%= f.input :status, :value => "pending", :as => :hidden %>
|
||||
<%= f.input :antecedent_name, :as => :string, :label => "From" %>
|
||||
<%= f.input :consequent_name, :label => "To" %>
|
||||
<%= f.input :forum_topic_id, :label => "Forum" %>
|
||||
<%= f.button :submit %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
New Tag Alias - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
@@ -2,11 +2,7 @@
|
||||
<menu>
|
||||
<li><%= link_to "Listing", tag_implications_path %></li>
|
||||
<li><%= link_to "MetaSearch", meta_searches_tags_path %></li>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<li><%= link_to "New", new_tag_implication_path %></li>
|
||||
<% else %>
|
||||
<li><%= link_to "Request implication", new_tag_implication_request_path %></li>
|
||||
<% end %>
|
||||
<li><%= link_to "Request implication", new_tag_implication_request_path %></li>
|
||||
<li><%= link_to "Request bulk update", new_bulk_update_request_path %></li>
|
||||
<li><%= link_to "Help", wiki_pages_path(:title => "help:tag_implications") %></li>
|
||||
</menu>
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<div id="c-tag-aliases">
|
||||
<div id="a-new">
|
||||
<h1>New Tag Implication</h1>
|
||||
|
||||
<%= error_messages_for :tag_implication %>
|
||||
|
||||
<%= simple_form_for(@tag_implication) do |f| %>
|
||||
<%= f.input :status, :value => "pending", :as => :hidden %>
|
||||
<%= f.input :antecedent_name, :label => "From" %>
|
||||
<%= f.input :consequent_name, :label => "To" %>
|
||||
<%= f.input :forum_topic_id, :label => "Forum" %>
|
||||
<%= f.button :submit %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
New Tag Implication - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user