Merge pull request #5205 from solgenomics/topic/generic_trial_upload
[sgn.git] / lib / SGN / Controller / Microtomography.pm
blob2bcfe472021ddcaedfdb40dd8d0310dc8062854c
1 package SGN::Controller::Microtomography;
3 use Moose;
5 BEGIN { extends 'Catalyst::Controller'; }
7 =head1 NAME
9 SGN::Controller::Microtomography - show Microtomography pages for CG.org. add subroutines for other pages in Microtomography menu
11 =cut
14 sub microtomography_index :Path('/microtomography/index') Args(0) {
15 my $self = shift;
16 my $c = shift;
18 $c->stash->{template} = '/microtomography/index.mas';
21 sub microtomography_javier_bruker_2017 :Path('/microtomography/javier_bruker_2017') Args(0) {
22 my $self = shift;
23 my $c = shift;
25 $c->stash->{template} = '/microtomography/javier_bruker_2017.mas';
28 sub microtomography_cicero_stylet_2018 :Path('/microtomography/cicero_stylet_2018') Args(0) {
29 my $self = shift;
30 my $c = shift;
32 $c->stash->{template} = '/microtomography/cicero_stylet_2018.mas';
35 sub microtomography_cicero_alimentarycanal_2018 :Path('/microtomography/cicero_alimentarycanal_2018') Args(0) {
36 my $self = shift;
37 my $c = shift;
39 $c->stash->{template} = '/microtomography/cicero_alimentarycanal_2018.mas';