Can't load external haml templates?

Nov 25, 2009 at 8:20 AM

hi,

I was trying to find a way to use haml template and found out that it doesn't work with build 31123.

HttpServer.Sample.Controllers.UserController always throws a "file not found" at this line :

 

string pageTemplate = _templateMgr.Render("\\views\\user\\" + MethodName + ".haml", arguments);
             

Am I doing something wrong ? 

BTW, I'm using Windows 7.

Thank you for this very usefull app.

 

Coordinator
Dec 15, 2009 at 7:38 AM

hnmm. Have you added FileTemplateLoader in the contructor to TemplateManager?