diff options
author | Azul <azul@leap.se> | 2013-01-17 17:35:39 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-01-18 07:50:40 +0100 |
commit | b348f9dbf3b8298e0e76bda6a9da973da25ed9bd (patch) | |
tree | d4481ebc868bb1169ba40f7bf9f21d984e3e0560 /users/app/models/local_email.rb | |
parent | 168c36b578d675c99aad62a350aa68cc1b6d1316 (diff) |
more flexible email partial
Diffstat (limited to 'users/app/models/local_email.rb')
-rw-r--r-- | users/app/models/local_email.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/app/models/local_email.rb b/users/app/models/local_email.rb index bd9dea3..69cba01 100644 --- a/users/app/models/local_email.rb +++ b/users/app/models/local_email.rb @@ -27,8 +27,8 @@ class LocalEmail strip_domain_if_needed end - def to_partial_path - "emails/email" + def to_key + [username] end protected |