Skip to content

Commit

Permalink
Merge pull request #8251 from alphagov/remove-placeholder-logic
Browse files Browse the repository at this point in the history
Remove placeholder logic
  • Loading branch information
brucebolt authored Sep 14, 2023
2 parents f4112f5 + b643001 commit b617964
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/generic_edition_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def content
document_type:,
public_updated_at: item.public_timestamp || item.updated_at,
rendering_app: Whitehall::RenderingApp::GOVERNMENT_FRONTEND,
schema_name: "placeholder_#{item.class.name.underscore}",
schema_name: "placeholder",
auth_bypass_ids: [item.auth_bypass_id],
)
content.merge!(PayloadBuilder::PublicDocumentPath.for(item))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def present(edition, update_type: nil)
base_path: public_path,
title: "The title",
description: "The summary",
schema_name: "placeholder_news_article",
schema_name: "placeholder",
document_type: "press_release",
locale: "en",
public_updated_at: edition.updated_at,
Expand Down

0 comments on commit b617964

Please sign in to comment.