Is there any way to call @controllers.app.test()
by the Javascript?
It has been working fine while using
location.href = '@controllers.app.test()'
And somehow this location.href
became an actual URL:
127.0.0.1:9001/admin/@controllers.app.test()
Can anyone help me out with this?