[Catalyst] Re: accessing 'user' info

Michael Higgins mhiggins at banfieldgroup.com
Wed Mar 28 19:33:31 GMT 2007


I wrote:
>Hello, cat-list --
>
>Still working with a variation of MyApp... and struggling.
>
>How would I access the user information in my, say, 'book' controller? I
have added a column to the users db that I want to use for altering logic
for the 'list' method.
>
>Any help or pointers to newbie resources appreciated.



Nevermind. It's too easy. $c->user->new_column was the trick.

Sorry for the noise. Unfortunately, it may not be the last time. ;-)

Cheers,

-- 
Michael Higgins





More information about the Catalyst mailing list