aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/about_me_validator.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb@mysociety.org>2012-01-09 09:37:48 +0000
committerSeb Bacon <seb@mysociety.org>2012-01-09 09:37:48 +0000
commit4f8ff37a127d5f82e63f500a84d22e8b07ab8843 (patch)
tree568a051bdf11be4099e2ac023aa0cb0d2c28594f /app/models/about_me_validator.rb
parentdb9eb3724242e82d4275418002e135f6b1c056e9 (diff)
parent848483381694e67999e446d3784b0c32dfdc3f8d (diff)
Merge branch 'release/0.5' into develop
Diffstat (limited to 'app/models/about_me_validator.rb')
-rw-r--r--app/models/about_me_validator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/about_me_validator.rb b/app/models/about_me_validator.rb
index ec2b03201..e24c5512c 100644
--- a/app/models/about_me_validator.rb
+++ b/app/models/about_me_validator.rb
@@ -21,7 +21,7 @@ class AboutMeValidator < ActiveRecord::BaseWithoutTable
def validate
if !self.about_me.blank? && self.about_me.size > 500
- errors.add(_("Please keep it shorter than 500 characters"))
+ errors.add(:about_me, _("Please keep it shorter than 500 characters"))
end
end