mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-21 04:05:45 +08:00
5 lines
242 B
Ruby
5 lines
242 B
Ruby
json.(@project_dataset, :id, :title, :description, :license_id, :paper_content)
|
|
json.license_name @project_dataset&.license&.name
|
|
json.attachments @attachments do |at|
|
|
json.partial! "api/v1/attachments/detail", locals: {attachment: at}
|
|
end |