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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-31 20:22:44 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-31 20:22:44 +0400
commite5ff5c28694daee117f22ba3a8c21f38a5f14966 (patch)
tree9e5f3691a156eb6dc499e12351af55080556caf3 /app/mailers
parent30d6370719263da531d2405fb561d34e1340f49e (diff)
Use project with namespace in email subject
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/notify.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb
index c2a97adbfa5..671483ce158 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -154,6 +154,6 @@ class Notify < ActionMailer::Base
# >> subject('Lorem ipsum', 'Dolor sit amet')
# => "GitLab | Lorem ipsum | Dolor sit amet"
def subject(*extra)
- "GitLab | " << extra.join(' | ') << (@project ? " | #{@project.name}" : "")
+ "GitLab | " << extra.join(' | ') << (@project ? " | #{@project.name_with_namespace}" : "")
end
end