forked from Gitlink/forgeplus
步骤查询接口返回模板信息修改
This commit is contained in:
parent
ac6858a205
commit
9af0ff4a71
|
@ -3,9 +3,9 @@ json.step_name pipeline_stage_step.step_name
|
|||
json.stage_id pipeline_stage_step.stage_id
|
||||
json.show_index pipeline_stage_step.show_index
|
||||
json.content pipeline_stage_step.content
|
||||
json.template_id pipeline_stage_step.template_id
|
||||
json.category Ci::Template.find(pipeline_stage_step.template_id).category
|
||||
json.created_at pipeline_stage_step.created_at
|
||||
json.updated_at pipeline_stage_step.updated_at
|
||||
json.template do
|
||||
json.partial! "/ci/templates/list", template: Ci::Template.find(pipeline_stage_step.template_id)
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue