This commit is contained in:
Toks
2013-04-07 07:11:19 -04:00
parent 6fe97c5827
commit 9a337346df

View File

@@ -27,7 +27,7 @@ class CommentVote < ActiveRecord::Base
def validate_user_can_vote
if !user.can_comment_vote?
errors.add :base, "You cannot vote on comments"
errors.add :base, "You cannot vote on more than 10 comments per hour"
false
else
true