You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If no route matches, should ScalateSupport look for a template before invoking the notFound handler? I think this would make a nice a variable (like the error page). Should it be the default? I'm on the fence here.
I propose implementing this with Scalate's TemplateFinder, and also using it in renderTemplate.
Add methods to render Scalate templates by convention. The recommended layout:
src/main/webapp
: static assetssrc/main/webapp/WEB-INF/views
: Scalate templatessrc/main/webapp/WEB-INF/layouts
: Scalate layoutsThis more or less corresponds to Sinatra conventions translated into WAR conventions.
The text was updated successfully, but these errors were encountered: