Files
openfoodnetwork/app/views/json/_current_hub.rabl
2014-05-29 16:50:41 +10:00

9 lines
144 B
Ruby

object current_distributor
attributes :name, :id
if current_distributor
child suppliers: :producers do
extends "json/producer"
end
end