diff options
author | Fu Xu <fuxu@fuxu.name> | 2016-09-29 16:09:47 +0800 |
---|---|---|
committer | Fu Xu <fuxu@fuxu.name> | 2016-10-03 18:07:28 +0800 |
commit | 64a60bc4545cbf85b3a025edd63bdaefd8cd9499 (patch) | |
tree | 6725aa8fea45c97a81b2edbe0e5732553d8cab0d /app/mailers/emails/members.rb | |
parent | 048f124a0851a51c449881814dbfd2f2fc2dd32d (diff) | |
download | gitlab-ce-64a60bc4545cbf85b3a025edd63bdaefd8cd9499.tar.gz |
wrap subject with method subject
Diffstat (limited to 'app/mailers/emails/members.rb')
-rw-r--r-- | app/mailers/emails/members.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/emails/members.rb b/app/mailers/emails/members.rb index 45311690293..7b617b359ea 100644 --- a/app/mailers/emails/members.rb +++ b/app/mailers/emails/members.rb @@ -45,7 +45,7 @@ module Emails @token = token mail(to: member.invite_email, - subject: "Invitation to join the #{member_source.human_name} #{member_source.model_name.singular}") + subject: subject("Invitation to join the #{member_source.human_name} #{member_source.model_name.singular}")) end def member_invite_accepted_email(member_source_type, member_id) |