gitlab-org--gitlab-foss/app/controllers/concerns/renders_commits.rb
2017-09-06 15:35:35 +01:00

7 lines
157 B
Ruby

module RendersCommits
def prepare_commits_for_rendering(commits)
Banzai::CommitRenderer.render(commits, @project, current_user)
commits
end
end