I found an answer to my question, however implementing it still causes errors. The only difference being the version of the Play framework
So, I've created a custom directory within app as follows:
app
└ custom
└ controllers
└ models
└ views
When trying to access views from within a controller with this code:
Ok(custom.views.html.index())
I get a compile error as follows:
object custom is not a member of package views
The answers also suggests to interrogate the corresponding target/...
directory which, upon inspection, does has the class in the correct structure: custom.views.html.list
Any suggestions?
If I've omitted any necessary information, please let me know and I'll update my question as soon as I can
Thank you in advance
If you check the Twirl project (Play's templating engine) on Github, you'll find the answer: