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

2 lines
88 B
Ruby

json.(platform, :id, :name)
json.url api_v1_platform_path(platform.id, :format => :json)