commit: 76eda2fc21dfe16fb470a235edacbed06f608d59
parent: 1c1819a78a33cb7a90b499676c587f3c6dd7406f
Author: Yamagishi Kazutoshi <ykzts@desire.sh>
Date: Fri, 7 Jul 2017 21:12:16 +0900
Add recursive object support to API response (#4095)
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/config/initializers/active_model_serializers.rb b/config/initializers/active_model_serializers.rb
@@ -0,0 +1,3 @@
+ActiveModelSerializers.config.tap do |config|
+ config.default_includes = '**'
+end