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:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-07-06 07:59:18 +0300
committerPaco Guzman <pacoguzmanp@gmail.com>2016-07-06 10:02:53 +0300
commit39b6e678da8c431020370dfc26c761255bc3ddf8 (patch)
tree3d5034b2fdba1cb41576b213d3832cadf77a3d19 /app/mailers/emails
parentfa981c9794de7a76bf225dc243e20d2799b55e53 (diff)
Simplify HAML code using unless condition and nesting
Extract diff line data attributes to helper methods
Diffstat (limited to 'app/mailers/emails')
-rw-r--r--app/mailers/emails/projects.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/mailers/emails/projects.rb b/app/mailers/emails/projects.rb
index 1a6900b3293..e0af7081411 100644
--- a/app/mailers/emails/projects.rb
+++ b/app/mailers/emails/projects.rb
@@ -30,7 +30,6 @@ 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