Adds links to categories

Makes categories on detail views links using a route _path helper.