cool, I'll give this a try. Your unwitting humor gave me a good laugh just now:
> merb-auth-slice-password is just a slice. You overwrite this like any other > slice. First you rake the stubs then you tweak them. right, I can just go read the "big slice handbook" or see the many blog posts on other slices and slicesm in general I owe you 2 beers someday; first for the slice and now for giving me a good laugh ;) thanks, Jon On Nov 7, 6:13 am, "Daniel N" <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
