Fixes #116 Accessing an API endpoint fails if the associated template
file doesn't exist