Phil
On Sun, Apr 17, 2011 at 8:47 PM, Nathan Domier <li...@ruby-forum.com> wrote: > Aha! I've figured it out. > > In case anyone else is wondering, I have a current_user defined in > sessions helper, so, I had to include sessionshelper, and set @user = > current_user! > Just in case it helps; if you have a current_user helper, you don't need to assign anything to @user in a controller at all. You can just use current_user in your view. :-) > > -- > 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 rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.