fix when cla nil index error

This commit is contained in:
chenjing 2023-06-14 11:22:13 +08:00
parent 04b3351962
commit 0d00fd1744
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,3 @@
json.id @cla.id if @cla.present?
json.key @cla.key json.partial! "detail", cla: @cla
json.name @cla.name end
json.pr_need @cla.pr_need