diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-05-15 09:52:11 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-05-15 09:52:11 +0100 |
commit | 014c5a221a3ac47d89de71cfd81054f39ac3759d (patch) | |
tree | 681a31d37b695daa1a008f69c51678874f37f8f4 /app/models/change_email_validator.rb | |
parent | 5180e822f8a9016d801282b2df56f7adab99e72f (diff) |
Remove trailing whitespace (to make a cleaner forthcoming merge with wombleton:feature/440_sparkly_admin_css)
Diffstat (limited to 'app/models/change_email_validator.rb')
-rw-r--r-- | app/models/change_email_validator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/change_email_validator.rb b/app/models/change_email_validator.rb index e3f8fa892..80db96c64 100644 --- a/app/models/change_email_validator.rb +++ b/app/models/change_email_validator.rb @@ -30,7 +30,7 @@ class ChangeEmailValidator < ActiveRecord::BaseWithoutTable validates_presence_of :old_email, :message => N_("Please enter your old email address") validates_presence_of :new_email, :message => N_("Please enter your new email address") validates_presence_of :password, :message => N_("Please enter your password"), :unless => :changing_email - + def changing_email() self.user_circumstance == 'change_email' end |