mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Client route priority is *last*
This commit is contained in:
@@ -64,15 +64,6 @@ def paste_app_factory( global_conf, **kwargs ):
|
||||
# Create the universe WSGI application
|
||||
webapp = GalaxyWebApplication( app, session_cookie='galaxysession', name='galaxy' )
|
||||
|
||||
# CLIENTSIDE ROUTES
|
||||
# The following are routes that are handled completely on the clientside.
|
||||
# The following routes don't bootstrap any information, simply provide the
|
||||
# base analysis interface at which point the application takes over.
|
||||
|
||||
webapp.add_client_route( '/tours' )
|
||||
webapp.add_client_route( '/tours/{tour_id}' )
|
||||
webapp.add_client_route( '/user' )
|
||||
webapp.add_client_route( '/user/{form_id}' )
|
||||
|
||||
# STANDARD CONTROLLER ROUTES
|
||||
webapp.add_ui_controllers( 'galaxy.webapps.galaxy.controllers', app )
|
||||
@@ -111,6 +102,16 @@ def paste_app_factory( global_conf, **kwargs ):
|
||||
# isolation as well.
|
||||
populate_api_routes( webapp, app )
|
||||
|
||||
# CLIENTSIDE ROUTES
|
||||
# The following are routes that are handled completely on the clientside.
|
||||
# The following routes don't bootstrap any information, simply provide the
|
||||
# base analysis interface at which point the application takes over.
|
||||
|
||||
webapp.add_client_route( '/tours' )
|
||||
webapp.add_client_route( '/tours/{tour_id}' )
|
||||
webapp.add_client_route( '/user' )
|
||||
webapp.add_client_route( '/user/{form_id}' )
|
||||
|
||||
# ==== Done
|
||||
# Indicate that all configuration settings have been provided
|
||||
webapp.finalize_config()
|
||||
|
||||
Reference in New Issue
Block a user