From d3e8471963b81a0c7674eb4bc0b00015e7ab6160 Mon Sep 17 00:00:00 2001 From: Alkesh Vaghmaria Date: Tue, 20 Aug 2024 12:03:09 +0100 Subject: [PATCH] use CLAIM_SLUGS for slugs that are not RESULTS_SLUGS --- .../provider/authenticated/slug_sequence.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/journeys/early_years_payment/provider/authenticated/slug_sequence.rb b/app/models/journeys/early_years_payment/provider/authenticated/slug_sequence.rb index d094cc7171..25cb3c5f28 100644 --- a/app/models/journeys/early_years_payment/provider/authenticated/slug_sequence.rb +++ b/app/models/journeys/early_years_payment/provider/authenticated/slug_sequence.rb @@ -3,7 +3,7 @@ module EarlyYearsPayment module Provider module Authenticated class SlugSequence - ELIGIBILITY_SLUGS = %w[ + CLAIM_SLUGS = %w[ consent current-nursery paye-reference @@ -19,7 +19,7 @@ class SlugSequence ineligible ].freeze - SLUGS = (ELIGIBILITY_SLUGS + RESULTS_SLUGS).freeze + SLUGS = (CLAIM_SLUGS + RESULTS_SLUGS).freeze MAGIC_LINK_SLUG = "consent"