Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-05-25 17:35:37 +0300
committerDouwe Maan <douwe@gitlab.com>2015-05-25 17:35:37 +0300
commit59f0d91a20663cc6ddd82f716606bb2216a1e20a (patch)
treed903f6b2d34504cb1d224a349afd47dfe5116e9d /app/mailers
parent84cb0dcbcd361730afcfbc72ea4aa7d9204f12d4 (diff)
Prefix EmailsOnPush email subject with `[Git]`.
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/emails/projects.rb3
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 << " "