I'm new to PlayFramework.
Please give me a sample how to access Configuration parameters from my view. I'm using PlayFramework 2.5.3
Old way (@current is deprecated):
@current.configuration.getString("environment.param")
New way (as far as I understand, Configuration should be injected):
I know how to access it from controller.
@Inject() (val messagesApi: MessagesApi, configuration: Configuration)
How do I use it from my view?