X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c2f23fea6a7821a4ad4c97fd65744b138ec86267..067290f19f4aa36b89c110280099b77c115d3187:/app/models/report.rb diff --git a/app/models/report.rb b/app/models/report.rb index ac00f1cfb..9bbf221df 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -27,7 +27,7 @@ class Report < ActiveRecord::Base validates :issue, :presence => true validates :user, :presence => true - validates :details, :presence => true, :invalid_chars => true + validates :details, :presence => true, :characters => true validates :category, :presence => true def self.categories_for(reportable)