Skip to content

Commit

Permalink
Set product_name specifically in the header
Browse files Browse the repository at this point in the history
Now this header will be used outside the context of ContentBlockManager,
we should set the product name speficially, rather than relying on the
helper method being overridden.
  • Loading branch information
pezholio committed Feb 25, 2025
1 parent 87f0916 commit b559506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% environment = GovukPublishingComponents::AppHelpers::Environment.current_acceptance_environment %>

<%= render "govuk_publishing_components/components/layout_header", {
product_name:,
product_name: ContentBlockManager.product_name,
environment: environment,
logo_link: content_block_manager.content_block_manager_root_path,
navigation_items: [
Expand Down

0 comments on commit b559506

Please sign in to comment.