fix:simple unit

This commit is contained in:
vilet.yy 2021-03-19 14:58:25 +08:00
parent 495de925dd
commit 39f0811f0a
1 changed files with 1 additions and 3 deletions

View File

@ -1,3 +1 @@
json.array! @project_units do |unit|
json.type unit.unit_type
end
json.array! @project_units.pluck(:unit_type)