diff options
author | Azul <azul@leap.se> | 2012-12-20 12:55:23 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-20 12:55:23 +0100 |
commit | bbfdf2df83c0469b0e4a84b76df072179fe1f0d6 (patch) | |
tree | ee1edb44fafb5c21bc56a4015fcb5d2bf14e8fd0 | |
parent | aa84a06bf96eb1fd5073263ee5955a62c61b9dc8 (diff) |
this is what += is there for
-rw-r--r-- | users/app/models/local_email.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/models/local_email.rb b/users/app/models/local_email.rb index c35fdf7..24624e7 100644 --- a/users/app/models/local_email.rb +++ b/users/app/models/local_email.rb @@ -37,7 +37,7 @@ class LocalEmail < Email end def add_domain_if_needed - self.email = self.email + "@" + APP_CONFIG[:domain] unless self.email.include?("@") + self.email += "@" + APP_CONFIG[:domain] unless self.email.include?("@") end end |