about summary refs log tree commit diff
path: root/app/serializers/rest
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2017-11-25 05:17:15 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2017-11-25 05:17:15 +0000
commit86f4f8e158deb57b2672d961f7c2dfc963e2a50c (patch)
treeeb0c60264b8885e3bce2c6a8322c3f800071c189 /app/serializers/rest
parent167fe2ab08288ce286f5c7660ff0ed587b65b988 (diff)
parent662b8eefe891c050e6befcb5736a9a5c417014b7 (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'app/serializers/rest')
-rw-r--r--app/serializers/rest/list_serializer.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/serializers/rest/list_serializer.rb b/app/serializers/rest/list_serializer.rb
index c0150888e..977da7439 100644
--- a/app/serializers/rest/list_serializer.rb
+++ b/app/serializers/rest/list_serializer.rb
@@ -2,4 +2,8 @@
 
 class REST::ListSerializer < ActiveModel::Serializer
   attributes :id, :title
+
+  def id
+    object.id.to_s
+  end
 end