remove newrelic

This commit is contained in:
albert
2013-02-12 16:23:11 -05:00
parent 2558be8512
commit e636f7a5df
4 changed files with 3 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ class CommentsController < ApplicationController
private
def index_for_post
@post = Post.find(params[:post_id])
@comments = @post.comments.includes(:creator)
@comments = @post.comments
@comments = @comments.visible(CurrentUser.user) unless params[:include_below_threshold]
render :action => "index_for_post"
end