Menu(Loc("logout", List("logout"), "logout", Template(() =>
{ User.logout }), ifLoggedIn)) ::
object User {
def logout = {
logUserOut
S.redirectTo("/")
}
}
On Oct 20, 5:50 pm, Naftoli Gugenheim <[email protected]> wrote:
> Could someone give an example of a Sitemap menu entry that performs an
> action and then redirects?Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---