This seems to work in the user controller

  def activate
         do_transition_action :activate do
           if valid?
             self.current_user = this
             flash[:notice] = "Your account was successfully
activated"
             redirect_to home_page
           end
         end
      end


On May 16, 10:35 pm, Hero1000 <[email protected]> wrote:
> Hi,
>
> At the moment on  --pre.31, when the user is activated, the user is
> not automatically logged in - whats the best way to make is happen?
>
> I would also love to use a redirect_to in the lifecycle but rejected
> so I'm not sure where this should go - please help!
>
> I love hobo, but with all the new features of this version along with
> rails 3, finding any information is really hard which is such a
> massive shame.
>
> Hobo has such potential.
>
> Thanks
>
> Chris

-- 
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=en.

Reply via email to