Merge pull request #62 from Bapabooiee/master
Dialog for reporting a post has already been voted on has a typo
This commit is contained in:
@@ -753,7 +753,7 @@ class Post < ActiveRecord::Base
|
|||||||
|
|
||||||
votes.create(:score => score)
|
votes.create(:score => score)
|
||||||
else
|
else
|
||||||
raise PostVote::Error.new("You have already voted for this comment")
|
raise PostVote::Error.new("You have already voted for this post")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user