From 908c5e65bb937038e2474973ceaa466afaec4746 Mon Sep 17 00:00:00 2001 From: Kevin Dew Date: Tue, 3 Dec 2024 13:20:31 +0000 Subject: [PATCH] Restore GOV.UK Chat banner to nested guide page In https://github.com/alphagov/government-frontend/pull/3440 we changed the mechanism for rendering the GOV.UK Chat banner to utilise request path rather than content item base_path. A side effect of this was that for any existing guides that we were embedding the banner on lost the banner on any of their nested sections. This commit adds each individual path of guides that previously had the banner. --- app/helpers/govuk_chat_promo_helper.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/app/helpers/govuk_chat_promo_helper.rb b/app/helpers/govuk_chat_promo_helper.rb index 6c4a95c3c..4263de42f 100644 --- a/app/helpers/govuk_chat_promo_helper.rb +++ b/app/helpers/govuk_chat_promo_helper.rb @@ -19,9 +19,12 @@ module GovukChatPromoHelper /child-employment/restrictions-on-child-employment /closing-a-limited-company /company-tax-returns + /company-tax-returns/making-changes + /company-tax-returns/penalties-for-late-filing /contracted-out /contracted-out/how-contracting-out-affects-your-amount /corporation-tax + /corporation-tax/work-out-your-corporation-tax /corporation-tax-rates /directors-loans/you-owe-your-company-money /dormant-company/dormant-for-corporation-tax @@ -74,7 +77,21 @@ module GovukChatPromoHelper /limited-company-formation/register-your-company /maximum-weekly-working-hours /pay-corporation-tax + /pay-corporation-tax/approve-a-payment-through-your-online-bank-account + /pay-corporation-tax/bank-details + /pay-corporation-tax/bank-or-building-society + /pay-corporation-tax/check-your-payment-has-been-received + /pay-corporation-tax/debit-or-credit-card + /pay-corporation-tax/direct-debit + /pay-corporation-tax/payments-for-a-group-of-companies + /pay-corporation-tax/tell-hmrc-no-payment-due /pay-vat + /pay-vat/approve-payment-through-your-online-bank-account + /pay-vat/bank-details + /pay-vat/bank-or-building-society + /pay-vat/by-debit-or-credit-card-online + /pay-vat/direct-debit + /pay-vat/standing-order /prepare-file-annual-accounts-for-limited-company /prepare-file-annual-accounts-for-limited-company/file-your-accounts-and-company-tax-return /register-for-vat @@ -94,6 +111,11 @@ module GovukChatPromoHelper /strike-off-your-company-from-companies-register /strike-off-your-company-from-companies-register/close-down-your-company /submit-vat-return + /submit-vat-return/correct-errors-in-your-vat-return + /submit-vat-return/how-to-send-return-pay-vat-bill + /submit-vat-return/interest-underpaid-overpaid-vat + /submit-vat-return/late-returns-and-payment + /submit-vat-return/what-to-include-in-a-vat-return /tax-employee-share-schemes/share-incentive-plans-sips /tax-foreign-income /tax-sell-property