Chris,
Normally you would use "before :ensure_authenticated" in your controller.
When an action in the controller is called, if the user is not logged in
this forces the login screen to show up before the action is performed.

..tony..

On Mon, Oct 12, 2009 at 5:32 AM, Chris <[email protected]> wrote:

> Hello,
>
> Is there any quick (as in: no need to override code) way to have the login
> action from merb-auth-slice-password redirect to wherever the user was
> before (aka: referrer to /login)?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to