Skip to content

Commit

Permalink
Change take_part rendering app to Frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Sep 19, 2024
1 parent 83f4fd2 commit c9181e5
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 c9181e5

Please sign in to comment.