I'm trying to create a sitemap and I have this code in Boot.scala
I have this code:
val purchase = Menu.i("Purchase") / "pay" >> LocGroup("authenticated") >> loggedIn
where
val loggedIn = If(() => User.loggedIn_?, () => RedirectResponse("/login"))
In the browser, when I user this URL
localhost:8080/pay it forwards me to
localhost:8080/login as expected BUT I get an error:
"The Requested URL /login was not found on this server"
How can I get this page to display?
I do have it in
webapp/pay.html
Thanks
A