This project is read-only.

Can't load external haml templates?

Nov 25, 2009 at 8:20 AM


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.


Dec 15, 2009 at 7:38 AM

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