Welcome to mirror list, hosted at ThFree Co, Russian Federation.

renders_commits.rb « concerns « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7b8cee435eefede94e8bd64bc147827d0d66615e (plain)
1
2
3
4
5
6
7
module RendersCommits
  def prepare_commits_for_rendering(commits)
    Banzai::CommitRenderer.render(commits, @project, current_user) # rubocop:disable Cop/ModuleWithInstanceVariables

    commits
  end
end