Open asolntsev opened 3 years ago
Currently templates dir is hardcoded: src/main/java/. See ninja.template.TemplateEngineFreemarker#srcDir.
src/main/java/
ninja.template.TemplateEngineFreemarker#srcDir
Though, a best practice in Java project is storing such resources in src/main/resources.
src/main/resources
I suggest at least to make it configurable.
Sounds like a good idea :) PRs are really welcome. Let us know if we can help in any way!
yes, I will prepare a PR.
Currently templates dir is hardcoded:
src/main/java/
. Seeninja.template.TemplateEngineFreemarker#srcDir
.Though, a best practice in Java project is storing such resources in
src/main/resources
.I suggest at least to make it configurable.