X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5310c7000c232cd48f48fe473beeca7f4ff02b53..2b1bac1279e268c8e5fcca34c950f30d2c06ec1c:/app/models/issue_comment.rb?ds=inline diff --git a/app/models/issue_comment.rb b/app/models/issue_comment.rb index 3a5894cb3..0841295e1 100644 --- a/app/models/issue_comment.rb +++ b/app/models/issue_comment.rb @@ -24,7 +24,7 @@ class IssueComment < ActiveRecord::Base belongs_to :issue belongs_to :user - validates :body, :presence => true + validates :body, :presence => true, :characters => true validates :user, :presence => true validates :issue, :presence => true end