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
{{ message }}
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
I'd even suggest that we make it more restrictive. Let's look for the template at exactly one place and just get people to adhere to that. I think we should just assume the template directory points to where the templates are and not try to go deeper (so the first location). That design was intended more for the Ruby side where you are toggling backends, template engines, and such.
Browsers are unable to implement this method and therefore
resolve_template
method will always returnsnil
.I think we should try to read template files at:
"#{template_dir}/#{name}.#{engine}"
"#{template_dir}/#{engine}/#{name}.#{engine}"
"#{template_dir}/#{backend}/#{name}.#{engine}"
"#{template_dir}/#{engine}/#{backend}/#{name}.#{engine}"
using only
File.exist?
.The text was updated successfully, but these errors were encountered: