summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2016-06-18 11:19:57 -0400
committerPaco Guzman <pacoguzmanp@gmail.com>2016-07-06 08:29:57 +0200
commite065f4848b257256141752e6498398cd68fa7786 (patch)
tree5b2775a3ad3e7f02d668faf850b0d31e5c76f4a2 /app/mailers
parentcfd5870b62e9d76e564ffc64db1d1281b4a363bb (diff)
downloadgitlab-ce-e065f4848b257256141752e6498398cd68fa7786.tar.gz
Diffs will create button/diff form on demand no on server side
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/emails/projects.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/mailers/emails/projects.rb b/app/mailers/emails/projects.rb
index e0af7081411..1a6900b3293 100644
--- a/app/mailers/emails/projects.rb
+++ b/app/mailers/emails/projects.rb
@@ -30,6 +30,7 @@ module Emails
@target_url = @message.target_url
@project = Project.find(project_id)
@diff_notes_disabled = true
+ @comments_target = {}
add_project_headers
headers['X-GitLab-Author'] = @message.author_username