convert status ids to string
This commit is contained in:
parent
168642a1b9
commit
daf5eeb905
|
@ -2,4 +2,8 @@
|
||||||
|
|
||||||
class REST::PromotionSerializer < ActiveModel::Serializer
|
class REST::PromotionSerializer < ActiveModel::Serializer
|
||||||
attributes :status_id, :timeline_id, :position
|
attributes :status_id, :timeline_id, :position
|
||||||
|
|
||||||
|
def status_id
|
||||||
|
object.status_id.to_s
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue