I am using the playframework to render Asciidoc text from a file inside my view. Since that content is used in my view, I want to be able to put it in the app/views so it gets packaged when deploying with activator dist.

Right now the files get lost after running activator dist. Because the content gets rendered by my view I don't want to put in in public/ or in app/assets.

My view looks versy simple:

@(html: String)(implicit flash: Flash, lang: Lang)


And my controller sends the String content to the view:

def about = Action { implicit request =>

Where should I put this file? and how to I access it other than with the path from the root?

Related posts

Recent Viewed