Merge pull request #3894 from dannon/search_controller_removal

Remove old, unused search controller.
This commit is contained in:
Martin Cech
2017-04-06 14:13:35 -04:00
committed by GitHub
2 changed files with 0 additions and 21 deletions
-1
View File
@@ -98,7 +98,6 @@ def paste_app_factory( global_conf, **kwargs ):
webapp.add_route( '/u/{username}/w/{slug}', controller='workflow', action='display_by_username_and_slug' )
webapp.add_route( '/u/{username}/w/{slug}/{format}', controller='workflow', action='display_by_username_and_slug' )
webapp.add_route( '/u/{username}/v/{slug}', controller='visualization', action='display_by_username_and_slug' )
webapp.add_route( '/search', controller='search', action='index' )
# TODO: Refactor above routes into external method to allow testing in
# isolation as well.
@@ -1,20 +0,0 @@
"""
Contains a basic search interface for Galaxy
"""
import logging
from galaxy import web
from galaxy.web.base.controller import BaseUIController
log = logging.getLogger( __name__ )
class SearchController( BaseUIController ):
@web.expose
def index(self, trans):
"""
Per the message, this is not ready for human consumption, yet. Power
users can still use the search API.
"""
return trans.show_message("Sorry, the search interface isn't quite ready for use, yet. Watch the release notes and check back later!")