Extracted redundancy into helper

Created patch that adds method to Issues Helper to clean up views.