Refactor ReposController#show/show_releases to use partial.