2 package SGN
::Controller
::NOAANCDC
;
5 use URI
::FromHash
'uri';
8 BEGIN { extends
'Catalyst::Controller' };
10 sub noaa_ncdc_analysis
:Path
('/noaa_ncdc_analysis') Args
(0) {
14 my $schema = $c->dbic_schema("Bio::Chado::Schema");
17 $user_id = $c->user->get_object()->get_sp_person_id();
20 $c->res->redirect( uri
( path
=> '/user/login', query
=> { goto_url
=> $c->req->uri->path_query } ) );
23 $c->stash->{template
} = '/breeders_toolbox/noaa_ncdc_analysis.mas';