Skip to content

Commit

Permalink
Change CaseStudyPresenter to use Frontend rendering app
Browse files Browse the repository at this point in the history
  • Loading branch information
georges1996 committed Nov 11, 2024
1 parent ab6322a commit 88a6ba8
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/case_study_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def content
details:,
document_type:,
public_updated_at: item.public_timestamp || item.updated_at,
rendering_app: Whitehall::RenderingApp::GOVERNMENT_FRONTEND,
rendering_app: Whitehall::RenderingApp::FRONTEND,
schema_name: "case_study",
auth_bypass_ids: [item.auth_bypass_id],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def present(edition)
locale: "en",
public_updated_at: case_study.public_timestamp,
publishing_app: Whitehall::PublishingApp::WHITEHALL,
rendering_app: "government-frontend",
rendering_app: "government",
routes: [
{ path: public_path, type: "exact" },
],
Expand Down

0 comments on commit 88a6ba8

Please sign in to comment.