mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #3894 from dannon/search_controller_removal
Remove old, unused search controller.
This commit is contained in:
@@ -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!")
|
||||
Reference in New Issue
Block a user