Addressed CanCan::ControllerResource#resource_base complexity identified by CodeClimate
- simplified the returns
- added private methods for shallow? singleton? and through_association?
Addressed CanCan::ControllerResource#find_resource complexity identified by CodeClimate
- simplified the returns