mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
新增:数据集文件分页
This commit is contained in:
@@ -22,7 +22,7 @@ class Api::V1::Projects::DatasetsController < Api::V1::BaseController
|
||||
end
|
||||
|
||||
def show
|
||||
@attachments = @project_dataset.attachments.includes(:author)
|
||||
@attachments = kaminari_paginate(@project_dataset.attachments.includes(:author))
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user