summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-20 12:55:23 +0100
committerAzul <azul@leap.se>2012-12-20 12:55:23 +0100
commitbbfdf2df83c0469b0e4a84b76df072179fe1f0d6 (patch)
treeee1edb44fafb5c21bc56a4015fcb5d2bf14e8fd0
parentaa84a06bf96eb1fd5073263ee5955a62c61b9dc8 (diff)
this is what += is there for
-rw-r--r--users/app/models/local_email.rb2
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