Open patmbolger opened 8 years ago
The User class contains these class methods:
self.is_job_seeker?(user)
self.is_job_developer?(user)
self.is_case_manager?(user)
self.is_agency_admin?(user)
self.is_company_admin?(user)
self.is_company_contact?(user)
self.is_company_person?(user)
These can be removed and the invocation of these methods can use similarly-name instance methods defined in JobSeeker, AgencyPerson and CompanyPerson classes.
As a developer I need to refactor code and remove unneeded logic