refactores index method in the controller for issues
refactores index method in the controller for issues

softwareinmotion/submarine,softwareinmotion/submarine,softwareinmotion/submarine,softwareinmotion/submarine