Hi,
I have tried to get the id of the currently logged user, using:
$c->user->id
But it returned same thing as
$c->user (the username and not its ID).
I have seen that if I use other fields like $c->user->email, they are got
correctly, so I think "id" might be a special field which is used by
Catalyst. But in that case, is it possible to get it, or I will need to make
another query to the database, for finding the ID of the current username?
Thank you.
Octavian
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/