How about using the logged_in? method. That should do the trick for
you.
By the way take a look though lib/authenticated_system.rb. You''ll find
lots of cool stuff in there.
On May 21, 7:45 pm, joel
<joel.soor...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hello people,
>
> Still a newbie in rails, wanted to know if there is a way to test if
> there is a user actually logged in from controller action code ?
I''m
> using restful authentication .
>
> Regards,
>
> Joel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---