Unable to find template "" (getThreadsActions).

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