mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Revert "Adding fields to product supplier"
This reverts commit 6d24a6555e.
This commit is contained in:
@@ -10,14 +10,7 @@ node do |product|
|
||||
end
|
||||
|
||||
child :supplier => :supplier do
|
||||
attributes :id, :name, :description, :long_description, :website, :instagram, :facebook, :linkedin, :twitter
|
||||
|
||||
node :logo do |supplier|
|
||||
supplier.logo.url
|
||||
end
|
||||
node :promo_image do |supplier|
|
||||
supplier.promo_image.url
|
||||
end
|
||||
attributes :id, :name, :description
|
||||
end
|
||||
|
||||
child :primary_taxon => :primary_taxon do
|
||||
|
||||
Reference in New Issue
Block a user