debian-mirror-gitlab/app/controllers/concerns/renders_commits.rb

8 lines
210 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
module RendersCommits
def prepare_commits_for_rendering(commits)
Banzai::CommitRenderer.render(commits, @project, current_user) # rubocop:disable Gitlab/ModuleWithInstanceVariables
commits
end
end