Browse Source

步骤查询接口返回模板信息修改

tags/v3.0.1
moshenglv 5 years ago
parent
commit
9af0ff4a71
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      app/views/ci/pipeline_stage_steps/_list.json.jbuilder

+ 3
- 3
app/views/ci/pipeline_stage_steps/_list.json.jbuilder View File

@@ -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…
Cancel
Save