X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/34e3e51456774127d43408b7ab65c24f41373f62..1596713871672cc319b0d68b51a3698cc6bf0972:/app/models/changeset_comment.rb diff --git a/app/models/changeset_comment.rb b/app/models/changeset_comment.rb index 1f037d667..02f68a2fa 100644 --- a/app/models/changeset_comment.rb +++ b/app/models/changeset_comment.rb @@ -8,7 +8,7 @@ class ChangesetComment < ActiveRecord::Base validates_associated :changeset validates_presence_of :author validates_associated :author - validates :visible, :inclusion => { :in => [true,false] } + validates :visible, :inclusion => { :in => [true, false] } # Return the comment text def body