about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-11-04 12:10:25 +0100
committerThibG <thib@sitedethib.com>2018-11-28 14:46:07 +0100
commit06c7fb801518dda3451d8efc3dde17060378e576 (patch)
tree0a96b690a007c43e7d626797c9c060fb97d2870e /app/serializers
parent53d0293d259f3b4e8fcfd96aca33867c6af3dd50 (diff)
Add backend support to read and update list-specific show_replies settings
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/rest/list_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/list_serializer.rb b/app/serializers/rest/list_serializer.rb
index 977da7439..3e87f7119 100644
--- a/app/serializers/rest/list_serializer.rb
+++ b/app/serializers/rest/list_serializer.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 class REST::ListSerializer < ActiveModel::Serializer
-  attributes :id, :title
+  attributes :id, :title, :replies_policy
 
   def id
     object.id.to_s