replace empty fixture with one that works.
[sgn.git] / lib / SGN / Controller / Audit.pm
blob793ffa50a30834f60cba9ffa0edf5aec54169bde
1 package SGN::Controller::Audit;
3 use Moose;
5 use POSIX;
6 use Data::Dumper;
7 use Storable qw | nstore retrieve |;
8 use List::Util qw/sum/;
9 use Bio::SeqIO;
10 use CXGN::Tools::Text qw/ sanitize_string /;
11 #use SGN::Schema;
12 use URI::FromHash 'uri';
15 BEGIN { extends 'Catalyst::Controller'; }
17 sub AUTO {
18 my $self = shift;
19 my $c = shift;
22 sub index :Path('/about/audit') :Args(0) {
23 my $self = shift;
24 my $c = shift;
25 if (! $c->user) {
26 $c->res->redirect(uri( path => '/user/login', query => { goto_url => $c->req->uri->path_query } ) );
27 return;
29 $c->stash->{template} = '/about/audit.mas';