On Fri, Nov 7, 2008 at 1:09 AM, Jon Hancock <[EMAIL PROTECTED]> wrote:

>
> ok, I don't get it.  MerbAuthSlicePassword::Sessions has several
> methods that I want to override and the docs clearly show they are
> intended to be overridden.  The one I'm going after first is
> redirect_after_login.
>
> Just not sure where to add my override code.  The file merb/merb-auth/
> session.rb is Merb::Session which is the mixin for
> Merb::SessionContainer.  That's not the place I don't think.
> I don't see any code where I should mixin or override for
> MerbAuthSlicePassword::Sessions itself.
>
> thanks, Jon
>
>
Hi Jon,

merb-auth-slice-password is just a slice.  You overwrite this like any other
slice.  First you rake the stubs then you tweak them.

rake slices:merb-auth-slice-password:stubs

That will put files at
Merb.root/slices/merb-auth-slice-password/app/controllers and other places
for you to overwrite.

HTH
Daniel

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