Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
starswan committed Dec 20, 2024
1 parent a15c23e commit d506496
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ def qualification_form_param_key(category)

def category_form_class(category)
name = case category
when "gcse", "a_level", "as_level"
"Secondary::CommonForm"
when "other_secondary"
"Secondary::OtherForm"
when "undergraduate", "postgraduate"
"DegreeForm"
when "other"
"OtherForm"
end
when "gcse", "a_level", "as_level"
"Secondary::CommonForm"
when "other_secondary"
"Secondary::OtherForm"
when "undergraduate", "postgraduate"
"DegreeForm"
when "other"
"OtherForm"
end
"Jobseekers::Qualifications::#{name}".constantize
end
end

0 comments on commit d506496

Please sign in to comment.