Method: CommentsController#show

Defined in:
app/controllers/comments_controller.rb

#showObject



83
84
85
86
# File 'app/controllers/comments_controller.rb', line 83

def show
  @comment = Comment.find(params[:id])
  redirect_to post_path(@comment.post, :anchor => dom_id(@comment))
end