FIX: make sure we can't vote on deleted polls

This commit is contained in:
Régis Hanol
2015-06-01 22:31:47 +02:00
parent 255402350f
commit c240a8bd80
3 changed files with 33 additions and 4 deletions
@@ -35,6 +35,8 @@ en:
no_polls_associated_with_this_post: "No polls are associated with this post."
no_poll_with_this_name: "No poll named <strong>%{name}</strong> associated with this post."
post_is_deleted: "Cannot act on a deleted post."
topic_must_be_open_to_vote: "The topic must be open to vote."
poll_must_be_open_to_vote: "Poll must be open to vote."