Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Thymeleaf template breaks controller #109
When you try to add a route in a controller using a Thymeleaf template html file that has no "th" attribute, all the routes from this controller become unavailable.
Things are bit more complex. Wisdom is able to have more than one template engine at a time. Yes so far we only have thymeleaf but I hope to get more soon.
So we need a way to check if the file is a thymeleaf template or not. As thymeleaf is reading HTML files, it's hard to use the extension as discriminent, as other template may use the same extension.
The current check is very expensive and may lead to issues as this one. So we have to change.
I'm in favor of prepending a specific extension, such as 'welcome.thm.html'.
Why not folders named after the template engine ?
Ok, it's good to me. I will change that later today.
Sent from my iPhone
On 28 mars 2014, at 11:19, Thomas Leveque firstname.lastname@example.org wrote:
I got the same problem.
Reply to this email directly or view it on