Fixed the path to the templates