Any ideas how to get the current URL with the play framework?
I’m also looking for the full target URL. I know I can use @{Controller.method} but I need the full url (for the Facebook like button)
Any ideas how to get the current URL with the play framework? I’m also
Share
An absolute path is created using
@@So, you would use
However, to get the current path, without specifying a specific controller and action, you can use