Merge pull request #5290 from solgenomics/topic/fix_upload_pehno
[sgn.git] / lib / SGN / Controller / Search / Trial.pm
blob961a38f53e9aa06370737b2a648624f586057d3f
2 package SGN::Controller::Search::Trial;
4 use Moose;
6 BEGIN { extends 'Catalyst::Controller'; }
8 sub trial_search_page : Path('/search/trials/') Args(0) {
9 my $self = shift;
10 my $c = shift;
12 $c->stash->{location_id} = $c->req->param('location_id') || 'not_provided';
13 $c->stash->{template} = '/search/trials.mas';
17 sub genotyping_trial_search_page : Path('/search/genotyping_trials/') Args(0) {
18 my $self = shift;
19 my $c = shift;
21 $c->stash->{template} = '/search/genotyping_trials.mas';
24 sub genotyping_data_project_search_page : Path('/search/genotyping_data_projects/') Args(0) {
25 my $self = shift;
26 my $c = shift;
28 $c->stash->{template} = '/search/genotyping_data_projects.mas';