From e065f4848b257256141752e6498398cd68fa7786 Mon Sep 17 00:00:00 2001 From: Jacob Schatz Date: Sat, 18 Jun 2016 11:19:57 -0400 Subject: Diffs will create button/diff form on demand no on server side --- app/mailers/emails/projects.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/mailers/emails') 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 -- cgit v1.2.3