On Wed, Jun 24, 2009 at 3:25 PM, David Pollak
<feeder.of.the.be...@gmail.com> wrote:

>
> Oh... I get why you did the Hidden thing... I'd do the following:
> case Full(Req(path, _, _)) if !User.loggedIn_? && path != List("profile", 
> "login") && path != path != List("profile", "lost_password") => 
> Loc.EarlyResponse(() => 
> Full(RedirectResponse("/profile/login?returnTo="+S.uri)))
> If you prefer to do the pattern matching thing, you can return:
>  new Loc.LocParam{}
> That's a noop.

Ahh yes (Note to self: Not everything needs to be pattern matched :-)

Thanks for the quick solution!

/Jeppe

--~--~---------~--~----~------------~-------~--~----~
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