mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
6 lines
134 B
Ruby
6 lines
134 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.array!(@categories) do |category|
|
|
json.extract! category, :id, :name, :weight, :description
|
|
end
|