remove links that are not usable by anon users, fixes #977
This commit is contained in:
@@ -21,8 +21,10 @@
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div class="new-comment">
|
||||
<p><%= link_to "Post comment", new_comment_path, :class => "expand-comment-response" %></p>
|
||||
<%= render "comments/partials/new/form", :post => post %>
|
||||
</div>
|
||||
<% if CurrentUser.is_member? %>
|
||||
<div class="new-comment">
|
||||
<p><%= link_to "Post comment", new_comment_path, :class => "expand-comment-response" %></p>
|
||||
<%= render "comments/partials/new/form", :post => post %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user