I am new to PlayFramework.
Please give me an example of how to access the configuration options from my view. I am using PlayFramework 2.5.3
Old way (@current deprecated):
@current.configuration.getString("environment.param")
New way (as far as I understand, the configuration should be introduced):
I know how to access it from the controller.
@Inject() (val messagesApi: MessagesApi, configuration: Configuration)
How to use it from my view?
source
share