If it's an index of search results the correct route would be:

```rb
resources :search_results, only: 'index', as: 'search'
```