X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/34e3e51456774127d43408b7ab65c24f41373f62..ef7f3d800cbdd49b692df10d312e5fd880e2e938:/app/models/changeset_comment.rb?ds=sidebyside 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