fluentd-ui/app/views/api/settings/_element.json.jbuilder
Kenji Okimoto d67ed8f7ed Display type in panel header properly
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-28 11:52:07 +09:00

7 lines
166 B
Ruby

json.id element_id(element)
json.name element.name
json.type element["@type"] || element["type"]
json.arg element.arg
json.settings element
json.content element.to_s