diff --git a/app/forms/form.rb b/app/forms/form.rb index a29ecab20d..c7b1b1ab70 100644 --- a/app/forms/form.rb +++ b/app/forms/form.rb @@ -61,16 +61,6 @@ def i18n_form_namespace self.class.name.demodulize.gsub("Form", "").underscore end - def page_sequence - @page_sequence ||= Journeys::PageSequence.new( - claim, - journey.slug_sequence.new(claim, journey_session), - nil, - params[:slug], - journey_session - ) - end - def attributes_with_current_value attributes.each_with_object({}) do |(attribute, _), attributes| attributes[attribute] = permitted_params[attribute] diff --git a/app/forms/journeys/additional_payments_for_teaching/nqt_in_academic_year_after_itt_form.rb b/app/forms/journeys/additional_payments_for_teaching/nqt_in_academic_year_after_itt_form.rb index 2fa4a5e28a..c26dfc1446 100644 --- a/app/forms/journeys/additional_payments_for_teaching/nqt_in_academic_year_after_itt_form.rb +++ b/app/forms/journeys/additional_payments_for_teaching/nqt_in_academic_year_after_itt_form.rb @@ -21,16 +21,6 @@ def save end end - def backlink_path - return unless page_sequence.in_sequence?("correct-school") - - Rails - .application - .routes - .url_helpers - .claim_path(params[:journey], "correct-school") - end - private def determine_induction_answer_from_dqt_record