Skip to content

Commit

Permalink
refactored to give direct access to subject_limited value
Browse files Browse the repository at this point in the history
  • Loading branch information
syed87 committed Sep 22, 2023
1 parent 1a9d6d1 commit 7eee234
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/models/application_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,7 @@ def english_language_exempt?
end

def secondary_education_teaching_qualification_required?
CountryCode.secondary_education_teaching_qualification_required?(
country.code,
)
country&.subject_limited || false
end

def created_under_new_regulations?
Expand Down

0 comments on commit 7eee234

Please sign in to comment.