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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -