Merge pull request #37 from wilkie/bugfix/reply_link_on_comments_index

Remove reply link on comment when not on a story page.
This commit is contained in:
joshua stein 2012-11-21 20:01:59 -08:00
commit ae66c583b6

View file

@ -57,7 +57,7 @@ class="comment <%= comment.current_vote ? (comment.current_vote[:vote] == 1 ?
<a class="comment_deletor">delete</a>
<% end %>
<% if !story.is_gone? && !comment.is_gone? %>
<% if !story.is_gone? && !comment.is_gone? && !show_story %>
|
<a class="comment_replier">reply</a>
<% end %>