Skip to content

Commit

Permalink
Render world index page via Collections
Browse files Browse the repository at this point in the history
We have added the rendering of the world index page to Collections
(alphagov/collections#3337), and can now switch the rendering over.
  • Loading branch information
jkempster34 committed Jul 26, 2023
1 parent f061ad7 commit da65d7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/presenters/publishing_api/world_index_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def content
details:,
document_type: "world_index",
public_updated_at: Time.zone.now,
rendering_app: Whitehall::RenderingApp::WHITEHALL_FRONTEND,
rendering_app: Whitehall::RenderingApp::COLLECTIONS_FRONTEND,
schema_name: "world_index",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class PublishingApi::WorldIndexPresenterTest < ActiveSupport::TestCase
},
],
},
publishing_app: "whitehall",
rendering_app: "whitehall-frontend",
publishing_app: Whitehall::PublishingApp::WHITEHALL,
rendering_app: Whitehall::RenderingApp::COLLECTIONS_FRONTEND,
schema_name: "world_index",
document_type: "world_index",
title: "Help and services around the world",
Expand Down

0 comments on commit da65d7d

Please sign in to comment.