Display list column (#5750)
This commit is contained in:
parent
269a445c0b
commit
31ac5f0e00
10 changed files with 166 additions and 1 deletions
|
@ -2,4 +2,8 @@
|
|||
|
||||
class REST::ListSerializer < ActiveModel::Serializer
|
||||
attributes :id, :title
|
||||
|
||||
def id
|
||||
object.id.to_s
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue