Commits
Morten Kjetland authored 47ac68327c9
[#123] All Jobs executing now have a fake current Http.Request based on 'application.baseUrl' in application.conf.
This makes resolving application Urls in templates possible. I.e. it is now possible to resolve '@@{application.index}'
in a HtmlEMail-template generated from inside a Job.
The fake-request-object is lazy-initialized so any Exceptions complaining about missing configuration is only thrown when needed:
When @@{} is used in Template rendered inside Job. 'application.baseUrl' have no default configuration