diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-05-25 16:35:37 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-05-25 16:35:37 +0200 |
commit | 59f0d91a20663cc6ddd82f716606bb2216a1e20a (patch) | |
tree | d903f6b2d34504cb1d224a349afd47dfe5116e9d /app/mailers | |
parent | 84cb0dcbcd361730afcfbc72ea4aa7d9204f12d4 (diff) | |
download | gitlab-ce-59f0d91a20663cc6ddd82f716606bb2216a1e20a.tar.gz |
Prefix EmailsOnPush email subject with `[Git]`.emailsonpush-prefix
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/emails/projects.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/mailers/emails/projects.rb b/app/mailers/emails/projects.rb index 9cb7077e59d..4a6e18e6a74 100644 --- a/app/mailers/emails/projects.rb +++ b/app/mailers/emails/projects.rb @@ -93,7 +93,8 @@ module Emails "pushed to" end - @subject = "[#{@project.path_with_namespace}]" + @subject = "[Git]" + @subject << "[#{@project.path_with_namespace}]" @subject << "[#{@ref_name}]" if action == :push @subject << " " |