Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused methods #2852

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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