about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-07-07 21:12:16 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-07 14:12:16 +0200
commit76eda2fc21dfe16fb470a235edacbed06f608d59 (patch)
tree1f23b989661898cd0290667ad6859c18b5827b11 /config
parent1c1819a78a33cb7a90b499676c587f3c6dd7406f (diff)
Add recursive object support to API response (#4095)
Diffstat (limited to 'config')
-rw-r--r--config/initializers/active_model_serializers.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/active_model_serializers.rb b/config/initializers/active_model_serializers.rb
new file mode 100644
index 000000000..b0230267d
--- /dev/null
+++ b/config/initializers/active_model_serializers.rb
@@ -0,0 +1,3 @@
+ActiveModelSerializers.config.tap do |config|
+  config.default_includes = '**'
+end