-
Notifications
You must be signed in to change notification settings - Fork 512
Open
Description
Hello,
I am looking for a way to get the actual URL from the freemarker template without using the Results.render(). I want it to be global.
I thought the Implicit functions ${contextPath} would do the trick but i got an empty result.
I also tried to use the TemplateEngineFreemarker and the setSharedVariable on each route request in Ninja.java but it gets overwritten if multiple requests run in parallels (not threadsafe or not for this type of usage).
And now I have no idea to do it.
Any help is appreciated.
Thanks !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels