JC: changed from put to get in routes.rb for search/stat results.