From 753bf8499ba5d8815db8d08a1dcf69caa20660cf Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 1 Apr 2023 12:00:33 -0600 Subject: Mejora estructura del proyecto --- app/controllers/api/cards_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers/api/cards_controller.rb') diff --git a/app/controllers/api/cards_controller.rb b/app/controllers/api/cards_controller.rb index a890ce7..41d6138 100644 --- a/app/controllers/api/cards_controller.rb +++ b/app/controllers/api/cards_controller.rb @@ -45,11 +45,11 @@ module Api private def serialized_collection - Serializers::CardSerializer.new(@cards) + CardSerializer.new(@cards) end def serialized_object - Serializers::CardSerializer.new(@card) + CardSerializer.new(@card) end def permitted_params -- cgit v1.2.3