diff options
Diffstat (limited to 'app/controllers/api/cards_controller.rb')
-rw-r--r-- | app/controllers/api/cards_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |