diff --git a/app/views/comments/partials/index/_threshold.html.erb b/app/views/comments/partials/index/_threshold.html.erb deleted file mode 100644 index 449a7ab96..000000000 --- a/app/views/comments/partials/index/_threshold.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -<% if post.hidden_comment_count(@current_user) > 0 %> - <%= link_to_remote "#{pluralize post.hidden_comment_count(@current_user), 'comment'} below threshold", :url => index_all_comments_path(:post_id => post.id) %>. -<% end %> diff --git a/config/routes.rb b/config/routes.rb index e4b2805dd..d1ef57588 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -102,7 +102,6 @@ Rails.application.routes.draw do resources :votes, :controller => "comment_votes", :only => [:create, :destroy] collection do get :search - get :index_all end member do put :unvote