These routes could probably be merged into one route, with the optional parameter.  Then:
```
if(param){
  view.auto_search(param);
}
```