Just a day into hobo now I think it's great but got a small problem.
User session are running with hobo, can't get current_user.
I can login in to my site as normal without adding the line
session[:user] = user.typed_id
-----------------------------------------------
def create
@user_session = UserSession.new(params[:user_session])
session[:user] = user.typed_id
if @user_session.save
flash.now[:notice] = "You have logged in!"
redirect_to root_url
else
render :action => 'new'
end
end
But when I do add this line it causes the login to break.
What am I doing wrong here?
Regards
Dan
--
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.