clean
[sgn.git] / lib / SGN / Controller / Disease.pm
blob40170bfc028580321aa1346bd5404fa68bf64f3d
1 package SGN::Controller::Disease;
3 use Moose;
5 BEGIN { extends 'Catalyst::Controller'; }
7 =head1 NAME
9 SGN::Controller::Disease - show disease pages for CG.org. add subroutines for other pages in disease menu
12 =cut
15 sub disease_index :Path('/disease/index') Args(0) {
16 my $self = shift;
17 my $c = shift;
19 $c->stash->{template} = '/disease/index.mas';
22 sub disease_impact :Path('/disease/impact') Args(0) {
23 my $self = shift;
24 my $c = shift;
26 $c->stash->{template} = '/disease/impact.mas';
29 sub disease_links :Path('/disease/links') Args(0) {
30 my $self = shift;
31 my $c = shift;
33 $c->stash->{template} = '/disease/links.mas';