From 8b89ef8639b2b6ee69d991fb0d6089f9437bbee2 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 17 Dec 2013 15:30:15 +0200 Subject: Add templates for Emails on push Signed-off-by: Dmitriy Zaporozhets --- app/mailers/emails/projects.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/mailers') diff --git a/app/mailers/emails/projects.rb b/app/mailers/emails/projects.rb index beecf15399c..809ce323958 100644 --- a/app/mailers/emails/projects.rb +++ b/app/mailers/emails/projects.rb @@ -16,7 +16,7 @@ module Emails def repository_push_email(project_id, recipient, branch, compare) @project = Project.find project_id - @commits = compare.commits + @commits = Commit.decorate compare.commits @commit = compare.commit @diffs = compare.diffs @branch = branch -- cgit v1.2.1