Thank you for the reply Carlos! But I don't know if I have stated this
correctly. And I know I probably have the wrong approach here, as
current_user is probably designed primarily for use in the controller.
At the top of this Google Groups page, I see my name. I want to do
the exact same thing in my secure app, so that if a user is logged in
then that username will be at the top at all times.
Am I better off setting a @user variable in a before_filter in my
ApplicationController, then accessing that variable in the view?
On Oct 1, 10:17 am, Carlos Antonio da Silva