Client route priority is *last*

This commit is contained in:
Dannon Baker
2017-03-03 10:33:33 -05:00
parent 42c090cb20
commit 2ee81a3faa
+10 -9
View File
@@ -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()