Skip to content

Commit

Permalink
close #1183 add start_date and end_date to taxon_serializer (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaneath authored Mar 1, 2024
1 parent ffe4407 commit c3d7525
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def self.prepended(base)
base.has_one :web_banner, serializer: ::SpreeCmCommissioner::V2::Storefront::AssetSerializer
base.has_one :home_banner, serializer: ::SpreeCmCommissioner::V2::Storefront::AssetSerializer

base.attributes :custom_redirect_url, :kind, :subtitle
base.attributes :custom_redirect_url, :kind, :subtitle, :from_date, :to_date
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
:custom_redirect_url,
:kind,
:subtitle,
:from_date,
:to_date,
)
end

Expand All @@ -59,4 +61,4 @@
)
end
end
end
end

0 comments on commit c3d7525

Please sign in to comment.