rosa-build/app/views/api/v1/platforms/_platform.json.jbuilder

2 lines
114 B
Ruby

json.(platform, :id, :name, :visibility, :platform_type)
json.url api_v1_platform_path(platform.id, format: :json)