Merge branch 'master' of github.com:r888888888/danbooru
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