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
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-14 10:27:11 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-14 10:27:11 +0400
commit28e6e1b1ab22f50a700408fa0c43528cd13ad360 (patch)
treec3f1f21995054faf268543d9eb79a42eef03eab7 /app
parent352bb972665822cace72497241e7b309c2167268 (diff)
parent9cb2a4ac8abfe27ecbf1133aec7b29604f20c248 (diff)
Merge branch '161-emails-on-push-service' of https://gitlab.com/jsternberg/gitlab-ce into jsternberg/gitlab-ce-161-emails-on-push-service
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: CHANGELOG
Diffstat (limited to 'app')
-rw-r--r--app/mailers/emails/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/emails/projects.rb b/app/mailers/emails/projects.rb
index 46aa34d13da..9f99c11ea30 100644
--- a/app/mailers/emails/projects.rb
+++ b/app/mailers/emails/projects.rb
@@ -26,7 +26,7 @@ module Emails
if @commits.length > 1
@target_url = project_compare_url(@project, from: @commits.first, to: @commits.last)
else
- @target_url = project_commit_url(@project, @compare.commit)
+ @target_url = project_commit_url(@project, @commits.first)
end
mail(from: sender(author_id),