summaryrefslogtreecommitdiff
path: root/lib/banzai/commit_renderer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/banzai/commit_renderer.rb')
-rw-r--r--lib/banzai/commit_renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/commit_renderer.rb b/lib/banzai/commit_renderer.rb
index f5ff95e3eb3..c351a155ae5 100644
--- a/lib/banzai/commit_renderer.rb
+++ b/lib/banzai/commit_renderer.rb
@@ -3,7 +3,7 @@ module Banzai
ATTRIBUTES = [:description, :title].freeze
def self.render(commits, project, user = nil)
- obj_renderer = ObjectRenderer.new(project, user)
+ obj_renderer = ObjectRenderer.new(user: user, default_project: project)
ATTRIBUTES.each { |attr| obj_renderer.render(commits, attr) }
end