Skip to content

Commit

Permalink
Merge pull request #2852 from DFE-Digital/remove-unused-methods
Browse files Browse the repository at this point in the history
Remove unused methods
  • Loading branch information
rjlynch authored Jun 14, 2024
2 parents 9bd6816 + e271bbb commit e1c4364
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions app/forms/form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1c4364

Please sign in to comment.