mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
8 lines
338 B
Ruby
8 lines
338 B
Ruby
# TODO: This should be moved into the controller
|
|
# RABL is tricky to pass variables into: so we do this as a workaround for now
|
|
# I noticed some vague comments on Rabl github about this, but haven't looked into
|
|
collection Enterprise.visible
|
|
extends 'json/partials/enterprise'
|
|
extends 'json/partials/producer'
|
|
extends 'json/partials/hub'
|