Merge pull request #5230 from solgenomics/topic/open_pollinated
[sgn.git] / lib / SGN / Controller / Disease.pm
blobc3763fbbbce77ea16455dbd236e62853e0b889f0
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';
36 sub disease_researchhighlights_index :Path('/disease/researchhighlights/index') Args(0) {
37 my $self = shift;
38 my $c = shift;
40 $c->stash->{template} = '/disease/researchhighlights/index.mas';
43 sub disease_researchhighlights_mann_2018 :Path('/disease/researchhighlights/mann_2018') Args(0) {
44 my $self = shift;
45 my $c = shift;
47 $c->stash->{template} = '/disease/researchhighlights/mann_2018.mas';
50 sub disease_researchhighlights_kruse_2017 :Path('/disease/researchhighlights/kruse_2017') Args(0) {
51 my $self = shift;
52 my $c = shift;
54 $c->stash->{template} = '/disease/researchhighlights/kruse_2017.mas';