Rick Lloyd wrote:
> Try
> 
> def is_logged_in?
>   @logged_in_user = User.find(session[:user]) if session[:user]
> end
> 
> On Apr 29, 10:15�am, Stephen Fagan <[email protected]>

Thanks Rick. It worked a treat and also opened up a couple of gaping 
holes aswell (which I've managed to rectify!)


Cheers


Stephen.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to