Commits

James Taylor committed 170b9bd

Subclass of WebApplication for reports

  • Participants
  • Parent commits b5fe81c

Comments (0)

Files changed (1)

lib/galaxy/webapps/reports/buildapp.py

 import galaxy.model.mapping
 import galaxy.web.framework
 
+class ReportsWebApplication( galaxy.web.framework.WebApplication ):
+    pass
+
 def add_ui_controllers( webapp, app ):
     """
     Search for controllers in the 'galaxy.webapps.controllers' module and add 
         app = UniverseApplication( global_conf = global_conf, **kwargs )
     atexit.register( app.shutdown )
     # Create the universe WSGI application
-    webapp = galaxy.web.framework.WebApplication( app, session_cookie='galaxyreportssession' )
+    webapp = ReportsWebApplication( app, session_cookie='galaxyreportssession', name="reports" )
     add_ui_controllers( webapp, app )
     # These two routes handle our simple needs at the moment
     webapp.add_route( '/:controller/:action', controller="root", action='index' )