my( $self, $c ) = @_;
my $m = $c->model('Directory');
# TODO not used yet, will load user texts later
- my $user = $c->user_exists ? $c->user->id : 'public';
+ my $user = $c->user_exists ? $c->user->get_object : 'public';
# my $user = $c->request->param( 'user' ) || 'ALL';
my @textlist = $m->traditionlist($user);
$c->stash->{texts} = \@textlist;