Unable to find template "" (getThreadsActions).

Opening address api/threads without giving any arguments got an error:
```
Unable to find template "".
```
This small commit fix this.