summaryrefslogtreecommitdiff
path: root/app/mailers/emails/members.rb
diff options
context:
space:
mode:
authorFu Xu <fuxu@fuxu.name>2016-09-29 16:09:47 +0800
committerFu Xu <fuxu@fuxu.name>2016-10-03 18:07:28 +0800
commit64a60bc4545cbf85b3a025edd63bdaefd8cd9499 (patch)
tree6725aa8fea45c97a81b2edbe0e5732553d8cab0d /app/mailers/emails/members.rb
parent048f124a0851a51c449881814dbfd2f2fc2dd32d (diff)
downloadgitlab-ce-64a60bc4545cbf85b3a025edd63bdaefd8cd9499.tar.gz
wrap subject with method subject
Diffstat (limited to 'app/mailers/emails/members.rb')
-rw-r--r--app/mailers/emails/members.rb2
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)