you call the built in lifecycle method in your redefined method...
can't recall off the top of my head what it is though.  Ah there it
is.
http://cookbook.hobocentral.net/manual/lifecycles#the_transition_page

On Nov 12, 7:03 pm, blueHandTalking <[email protected]> wrote:
> I need to create an instance of @photos so I can paginate my
> activation page.
>
> However,
>
> def activate
>     @photos = Photo.paginate(:all, :per_page => 28, :page => params
> [:page])
> end
>
> destroys the magic of hobo activation.
>
> how can i define activate in my user controller without losing the
> Hobo
> activate livecycle stuff?
>
> Perhaps I could do this within a partial, but it doesn't seem like it
> should go there.
>
> Cheers,
>
>   Jet

--

You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=.


Reply via email to