Make searches routing configurable. Add get_search_params action. Set @search_params_key from new and show action of the SearchesController.