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>2015-09-09 15:37:34 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-09 15:37:34 +0300
commit90c338a49541c95452181af9e0d0bcf9da6c51ad (patch)
treebdf4633d8e52fde86cdb956d8b6f2681190ff8b7 /app/mailers/notify.rb
parentcc4ef4da11d46761ab0ce4fbd6b032a7e01baba9 (diff)
Move helpers back to original directory
Diffstat (limited to 'app/mailers/notify.rb')
-rw-r--r--app/mailers/notify.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb
index 38afb49c78c..f196ffd53f3 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -8,8 +8,8 @@ class Notify < BaseMailer
include Emails::Profile
include Emails::Groups
- add_template_helper Gitlab::MergeRequestsHelper
- add_template_helper Gitlab::EmailsHelper
+ add_template_helper MergeRequestsHelper
+ add_template_helper EmailsHelper
def test_email(recipient_email, subject, body)
mail(to: recipient_email,
@@ -100,7 +100,7 @@ class Notify < BaseMailer
def mail_thread(model, headers = {})
if @project
- headers['X-GitLab-Project'] = @project.name
+ headers['X-GitLab-Project'] = @project.name
headers['X-GitLab-Project-Id'] = @project.id
headers['X-GitLab-Project-Path'] = @project.path_with_namespace
end