diff --git a/lib/galaxy/webapps/galaxy/buildapp.py b/lib/galaxy/webapps/galaxy/buildapp.py index 820ea537943..434466472bb 100644 --- a/lib/galaxy/webapps/galaxy/buildapp.py +++ b/lib/galaxy/webapps/galaxy/buildapp.py @@ -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()