Fix serialization of annual reports with share code (#37104)
This commit is contained in:
parent
c97d25fcbd
commit
08da9d8fc5
@ -1,6 +1,8 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class REST::AnnualReportSerializer < ActiveModel::Serializer
|
class REST::AnnualReportSerializer < ActiveModel::Serializer
|
||||||
|
include RoutingHelper
|
||||||
|
|
||||||
attributes :year, :data, :schema_version, :share_url
|
attributes :year, :data, :schema_version, :share_url
|
||||||
|
|
||||||
def share_url
|
def share_url
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user