add function for retrieving treatment info by observation unit ids
[sgn.git] / lib / SGN / Controller / ImageAnalysis.pm
blobe69f4f25877ea9a75ecaecddff0c29562243bec0
2 package SGN::Controller::ImageAnalysis;
4 use Moose;
5 use URI::FromHash 'uri';
7 BEGIN { extends 'Catalyst::Controller' };
9 sub home : Path('/tools/image_analysis') Args(0) {
10 my $self = shift;
11 my $c = shift;
12 if (!$c->user()) {
13 $c->res->redirect( uri( path => '/user/login', query => { goto_url => $c->req->uri->path_query } ) );
14 return;
16 $c->stash->{template} = 'tools/image_analysis.mas';