From f5ea2acb4a78622e823039ed73493171d6d6af05 Mon Sep 17 00:00:00 2001 From: Abigail McPhillips Date: Mon, 29 Jul 2024 13:03:59 +0100 Subject: [PATCH] Simplifiy slugs --- .../early_years_payment/provider/slug_sequence.rb | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/app/models/journeys/early_years_payment/provider/slug_sequence.rb b/app/models/journeys/early_years_payment/provider/slug_sequence.rb index 14f1357832..632fdf00b8 100644 --- a/app/models/journeys/early_years_payment/provider/slug_sequence.rb +++ b/app/models/journeys/early_years_payment/provider/slug_sequence.rb @@ -2,20 +2,7 @@ module Journeys module EarlyYearsPayment module Provider class SlugSequence - ELIGIBILITY_SLUGS = %w[].freeze - - PERSONAL_DETAILS_SLUGS = %w[].freeze - - PAYMENT_DETAILS_SLUGS = %w[].freeze - - RESULTS_SLUGS = %w[].freeze - - SLUGS = ( - ELIGIBILITY_SLUGS + - PERSONAL_DETAILS_SLUGS + - PAYMENT_DETAILS_SLUGS + - RESULTS_SLUGS - ).freeze + SLUGS = %w[].freeze def self.start_page_url if Rails.env.production?