playframework 2.0 - Secure reverse routing -
what's equivalent of @{admin.login().secure()}
in play 2.0 ?
for reference, if route file was
get /login admin.login
admin.login().secure() return https://myserver/login
note https
routes.admin.login().absoluteurl(secure = true)
Comments
Post a Comment