show story downvote summary to everyone

This commit is contained in:
joshua stein 2013-10-18 14:58:23 -05:00
parent fce8c73fda
commit 3aa412087a

View file

@ -74,8 +74,7 @@ class="story <%= story.vote == 1 ? "upvoted" : (story.vote == -1 ?
<% end %>
<% if defined?(single_story) && single_story %>
<% if story.downvotes > 0 &&
(story.user_id == @user.try(:id) || @user.try(:is_moderator?)) %>
<% if story.downvotes > 0 %>
| <%= story.vote_summary.downcase %>
<% end %>
<% end %>