wrote passing controller spec for redirect
flash message when no issues are found, fixed alignment of search form
refactored search controller methods
eliminated repetition of auth_token