1 use CatalystX
::GlobalContext
qw( $c );
5 my $sp_person_id = $c->user() ? $c->user->get_object()->get_sp_person_id() : undef;
6 my $schema = $c->dbic_schema('Bio::Chado::Schema', undef, $sp_person_id);
7 $c->forward_to_mason_view('/genomes/Solanum_lycopersicum/publications.mas', schema => $schema);