Hi,

I've been having some trouble getting merb-auth to work correctly in
production where I have a path prefix. I ended up overwriting
redirect_after_login() and redirect_after_logout() in the sessions
controller of the password slice:

def redirect_after_login
    message[:notice] = "Authenticated Successfully"
    redirect url(:home)
end

I'm missing some functionality now since I only redirect to home, but
at least it works.

Is there some setting in merb-auth specifically that I missed where
you can set the path_prefix? (I did set the config path_prefix for the
whole application in config/environments/production.rb)

Thanks,
Tiberiu
--~--~---------~--~----~------------~-------~--~----~
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