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 <naftoli...@gmail.com> 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 liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to