diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-22 17:40:42 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-22 17:40:42 -0600 |
commit | 5868c1230bdfde7fa10d498a12e214df2722415c (patch) | |
tree | 21abc54589101602dad5a65e3df6846072bc969a /app/controllers/serializers | |
parent | 3e106dc7f5fbd6961c67f41aea66033c27b5142f (diff) |
Arregla bugs del controlador de products
Diffstat (limited to 'app/controllers/serializers')
-rw-r--r-- | app/controllers/serializers/product_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/serializers/product_serializer.rb b/app/controllers/serializers/product_serializer.rb index 8e1ac11..7fb2874 100644 --- a/app/controllers/serializers/product_serializer.rb +++ b/app/controllers/serializers/product_serializer.rb @@ -6,7 +6,7 @@ module Serializers include Rails.application.routes.url_helpers extend ActionView::RoutingUrlFor - attributes :name, :unitary_price, :bulk_price, :available_quantity, :categories + attributes :name, :public_id, :unitary_price, :bulk_price, :available_quantity, :categories attribute :picture do |object| object.picture.url |