Skip to content

Commit

Permalink
Merge pull request #9427 from alphagov/move-take-part-rendering-to-fr…
Browse files Browse the repository at this point in the history
…ontend

Move take part rendering to frontend
  • Loading branch information
KludgeKML authored Nov 5, 2024
2 parents f5a6461 + 59c85ed commit 972ca52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/presenters/publishing_api/take_part_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def content
details:,
document_type: "take_part",
public_updated_at: item.updated_at,
rendering_app: Whitehall::RenderingApp::GOVERNMENT_FRONTEND,
rendering_app: Whitehall::RenderingApp::FRONTEND,
schema_name: "take_part",
)
content.merge!(PayloadBuilder::PolymorphicPath.for(item))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def present(record)
locale: "en",
public_updated_at: take_part_page.updated_at,
publishing_app: Whitehall::PublishingApp::WHITEHALL,
rendering_app: "government-frontend",
rendering_app: "frontend",
routes: [
{ path: "/government/get-involved/take-part/#{take_part_page.slug}", type: "exact" },
],
Expand Down

0 comments on commit 972ca52

Please sign in to comment.