Added eval; site now shows clean dataset missing message instead of server error...
[sgn.git] / lib / SGN / Controller / Search / Transcripts.pm
blob8b7bf2b9e612df49d7d5e275830015447118328a
1 package SGN::Controller::Search::Transcripts;
2 use Moose;
4 BEGIN{ extends 'Catalyst::Controller' }
6 sub auto : Private {
7 $_[1]->stash->{template} = '/search/transcripts/stub.mas';
10 sub est_search : Path('/search/transcripts/est') Args(0) {
11 $_[1]->stash(
12 template => '/search/transcripts/stub.mas',
13 content => CXGN::Search::CannedForms->est_search_form(),
17 sub library_search : Path('/search/transcripts/est_library') Args(0) {
18 $_[1]->stash(
19 template => '/search/transcripts/stub.mas',
20 content => CXGN::Search::CannedForms->library_search_form(),
24 sub unigene_search : Path('/search/transcripts/unigene') Path('/search/transcripts') Args(0) {
25 $_[1]->stash(
26 template => '/search/transcripts/stub.mas',
27 content => CXGN::Search::CannedForms->unigene_search_form(),