link to post in comment searches
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<li><%= link_to "Vote up", comment_votes_path(:comment_id => comment.id, :score => "up"), :method => :post, :remote => true %></li>
|
||||
<li><%= link_to "Vote down", comment_votes_path(:comment_id => comment.id, :score => "down"), :method => :post, :remote => true %></li>
|
||||
|
||||
<% if @comment %>
|
||||
<% if @comment || @comments %>
|
||||
<li><%= link_to "View post", post_path(post) %></li>
|
||||
<% end %>
|
||||
</menu>
|
||||
|
||||
Reference in New Issue
Block a user