Fixed already voted message in poll show

This commit is contained in:
María Checa
2017-10-09 13:12:44 +02:00
parent bd62af9eb7
commit f23073bb28

View File

@@ -39,7 +39,7 @@
</div>
<% else %>
<% if current_user && !@poll.votable_by?(current_user) %>
<% if current_user && @poll.votable_by?(current_user) %>
<div class="callout warning">
<%= t("polls.show.already_voted_in_web") %>
</div>