Added eval; site now shows clean dataset missing message instead of server error...
[sgn.git] / lib / SGN / Controller / Search / Expression.pm
blob600c0877a2f71be74eff658119bc77e99f3549f8
1 package SGN::Controller::Search::Expression;
2 use Moose;
4 BEGIN{ extends 'Catalyst::Controller' }
6 sub auto : Private {
7 $_[1]->stash->{template} = '/search/expression/stub.mas';
10 sub template_search : Path('/search/expression/template') Path('/search/expression') Args(0) {
11 $_[1]->stash->{content} = CXGN::Search::CannedForms->expr_template_search_form();
14 sub experiment_search : Path('/search/expression/experiment') Args(0) {
15 $_[1]->stash->{content} = CXGN::Search::CannedForms->expr_experiment_search_form();
18 sub platform_search : Path('/search/expression/platform') Args(0) {
19 $_[1]->stash->{content} = CXGN::Search::CannedForms->expr_platform_search_form();