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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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