Skip to content

Commit

Permalink
Remove unused methods
Browse files Browse the repository at this point in the history
Looks like these methods weren't cleaned up when how we handle back
links was changed
  • Loading branch information
rjlynch committed Jun 14, 2024
1 parent f3b1fa9 commit 2667c6e
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 2667c6e

Please sign in to comment.