diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-14 10:27:11 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-14 10:27:11 +0400 |
commit | 28e6e1b1ab22f50a700408fa0c43528cd13ad360 (patch) | |
tree | c3f1f21995054faf268543d9eb79a42eef03eab7 /app | |
parent | 352bb972665822cace72497241e7b309c2167268 (diff) | |
parent | 9cb2a4ac8abfe27ecbf1133aec7b29604f20c248 (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.rb | 2 |
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), |