Add helpers.rb and link_to helper, link search to detail view