mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Merge branch 'caching' into new_cart
Conflicts: app/serializers/api/variant_serializer.rb
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
class Api::VariantSerializer < ActiveModel::Serializer
|
||||
attributes :id, :is_master, :count_on_hand, :name_to_display, :on_demand,
|
||||
:price
|
||||
|
||||
attributes :id, :is_master, :count_on_hand, :name_to_display, :unit_to_display, :on_demand
|
||||
attributes :price
|
||||
has_many :images, serializer: Api::ImageSerializer
|
||||
|
||||
def price
|
||||
|
||||
Reference in New Issue
Block a user