JC: changed form put to get in routes.rb for search_result.