Browse Source

fix:simple unit

tags/v3.0.1
vilet.yy 5 years ago
parent
commit
39f0811f0a
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      app/views/projects/project_units/index.json.jbuilder

+ 1
- 3
app/views/projects/project_units/index.json.jbuilder View File

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

Loading…
Cancel
Save