X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1e57189366c0e4a49cb29658e9bf5985996709a2..773ef195d42f74ef20fb59f5baf6262102e6ab38:/app/models/changeset_comment.rb diff --git a/app/models/changeset_comment.rb b/app/models/changeset_comment.rb index 0b84409db..a0ad6f2ea 100644 --- a/app/models/changeset_comment.rb +++ b/app/models/changeset_comment.rb @@ -28,7 +28,7 @@ class ChangesetComment < ActiveRecord::Base validates :changeset, :presence => true, :associated => true validates :author, :presence => true, :associated => true validates :visible, :inclusion => [true, false] - validates :body, :invalid_chars => true + validates :body, :characters => true # Return the comment text def body