Display list column (#5750)

This commit is contained in:
Eugen Rochko
2017-11-25 00:35:37 +01:00
committed by GitHub
parent 269a445c0b
commit 31ac5f0e00
10 changed files with 166 additions and 1 deletions

View File

@ -2,4 +2,8 @@
class REST::ListSerializer < ActiveModel::Serializer
attributes :id, :title
def id
object.id.to_s
end
end