blob: 7287d10a10988f51f26429eb7df90409217e3990 (
plain)
1
2
3
4
5
|
- diff_files = conditionally_paginate_diff_files(diffs, paginate: true, page: params[:page], per: Projects::CommitController::COMMIT_DIFFS_PER_PAGE)
= render partial: 'projects/diffs/file', collection: diff_files, as: :diff_file, locals: { project: diffs.project, environment: environment, diff_page_context: 'is-commit' }
= paginate(diff_files, theme: "gitlab", params: { action: :show })
|