On Thu, Feb 11, 2010 at 7:23 AM, LeonS <leonard.stellbr...@gmail.com> wrote: > I'm developing a site with a Login on the frontpage, so when you > logged in you will see > another "thing" than if you are not logged in.
Something like: <%= render partial => session[:user_id] ? 'logged_in' : 'something_else' %> -- Greg Donald destiney.com | gregdonald.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-t...@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.