Question

What's the equivalent of @{Admin.login().secure()} in Play 2.0 ?

For reference, if the route file was

GET /login  Admin.login

Admin.login().secure() would return https://myserver/login

Note the https

Was it helpful?

Solution

routes.Admin.login().absoluteURL(secure = true)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top