Getting full path urls in views / templates
1 answer
You have to use
@@{'/public/stylesheets/mains.CSS}
instead of using single @. See this template playlist template .
Of documentation templates PlayFramework explains it as:
The @@ {...} syntax does the same, but generates an absolute URL (particularly useful for email).
+8