diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-31 18:22:44 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-31 18:22:44 +0200 |
commit | e5ff5c28694daee117f22ba3a8c21f38a5f14966 (patch) | |
tree | 9e5f3691a156eb6dc499e12351af55080556caf3 /app/mailers/notify.rb | |
parent | 30d6370719263da531d2405fb561d34e1340f49e (diff) | |
download | gitlab-ce-e5ff5c28694daee117f22ba3a8c21f38a5f14966.tar.gz |
Use project with namespace in email subject
Diffstat (limited to 'app/mailers/notify.rb')
-rw-r--r-- | app/mailers/notify.rb | 2 |
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 |