Skip to content

Commit

Permalink
just registered users can see voters of each story
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamed Ramezanian committed Mar 5, 2013
1 parent b0d0dbe commit c9f3c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/stories/_story.html.erb
Expand Up @@ -83,7 +83,7 @@
</span>
<% end %>
<% if story.votes.any? %>
<% if can? :create, Vote && story.votes.any? %>
<span>
<i class='icon-thumbs-up' title="رای‌دهندگان"></i>
<%= link_to t('.voters'), "#", class: "toggle-voters" %>
Expand Down

0 comments on commit c9f3c20

Please sign in to comment.