package SGN::Controller::DirectSearch;
use Moose;
use namespace::autoclean;

BEGIN {extends 'Catalyst::Controller'; }

=head1 NAME

SGN::Controller::DirectSearch - Catalyst Controller

=head1 DESCRIPTION

Catalyst Controller.

=head1 METHODS

=cut


=head2 index

=cut

sub index :Path :Args(0) {
    my ( $self, $c ) = @_;

    $c->response->body('Matched SGN::Controller::DirectSearch in DirectSearch.');
}


=head1 AUTHOR

Jonathan "Duke" Leto

=head1 LICENSE

This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

__PACKAGE__->meta->make_immutable;

1;

package SGN::Controller::DirectSearch;
use Moose;
use namespace::autoclean;
use CXGN::Genomic::Search::Clone;
use CXGN::Page::FormattingHelpers qw/page_title_html modesel/;
use CXGN::Search::CannedForms;
use CatalystX::GlobalContext qw( $c );
use HTML::FormFu;
use YAML::Any qw/LoadFile/;

BEGIN {extends 'Catalyst::Controller'; }

=head1 NAME

SGN::Controller::DirectSearch - Catalyst Controller

=head1 DESCRIPTION

Direct search catalyst Controller.

=head1 METHODS

=cut


=head2 index

=cut

sub direct_search :Path('/cgi-bin/search/direct_search.pl') :Args(0) {
    my ( $self, $c ) = @_;

    $c->response->body('Matched SGN::Controller::DirectSearch in DirectSearch.');
}


=head1 AUTHOR

Jonathan "Duke" Leto

=head1 LICENSE

This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

__PACKAGE__->meta->make_immutable;

1;

Add the legacy path of direct_search to the new controller
Add the legacy path of direct_search to the new controller
