From c944ba628b824f89aebe906ea7ae97c86a0e43c5 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 8 Mar 2017 22:29:22 -0800 Subject: [PATCH] fix docs --- app/serializers/api/v2/application_serializer.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/serializers/api/v2/application_serializer.rb b/app/serializers/api/v2/application_serializer.rb index d08b03c9..c0399db6 100644 --- a/app/serializers/api/v2/application_serializer.rb +++ b/app/serializers/api/v2/application_serializer.rb @@ -19,9 +19,12 @@ module Api # }, # collaborators: { # serializer: UserSerializer - # } + # }, + # topic: {}, + # synapses: {} # } - # The key has to be in embeddable, and the serializer is only needed if the key doesn't match a serializer + # The key has to be in embeddable or it won't show in the response, and the serializer is + # only needed if the key doesn't match a serializer def self.embed_dat embeddable.each_pair do |key, opts| is_plural = key.to_s.pluralize == key.to_s