Delete unused /comments/index_all route and unused _threshold.html.erb template.
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
<% if post.hidden_comment_count(@current_user) > 0 %>
|
|
||||||
<span class="info" id="threshold-comments-notice-for-<%= post.id %>"><%= link_to_remote "#{pluralize post.hidden_comment_count(@current_user), 'comment'} below threshold", :url => index_all_comments_path(:post_id => post.id) %>.</span>
|
|
||||||
<% end %>
|
|
||||||
@@ -102,7 +102,6 @@ Rails.application.routes.draw do
|
|||||||
resources :votes, :controller => "comment_votes", :only => [:create, :destroy]
|
resources :votes, :controller => "comment_votes", :only => [:create, :destroy]
|
||||||
collection do
|
collection do
|
||||||
get :search
|
get :search
|
||||||
get :index_all
|
|
||||||
end
|
end
|
||||||
member do
|
member do
|
||||||
put :unvote
|
put :unvote
|
||||||
|
|||||||
Reference in New Issue
Block a user