Hi kevinpfromnm
what I have done is automatically login and redirect to the front page
after clicking on the user activation (link on the email).
The key is the "self.current_user = this" line on the activation
lyfecycle.
I'm still using Hobo 1.0.1 in my production server.
----------
class UsersController < ApplicationController
hobo_user_controller
auto_actions :all, :except => [ :index, :new, :create ]
( ...)
def activate
do_transition_action :activate do
if valid?
self.current_user = this
flash[:notice] = "Your account was successfully activated"
redirect_to "/front"
end
end
end
(...)
end
-----------
Best regards,
eddie.