etwist/service.py
changeset 10181 215403b9798f
parent 8695 358d8bed9626
child 10589 7c23b7de2b8d
--- a/etwist/service.py	Wed Dec 10 10:49:07 2014 +0100
+++ b/etwist/service.py	Thu Jan 29 16:18:23 2015 +0100
@@ -80,7 +80,7 @@
             config.info('clear ui caches')
             for cachedir in ('uicache', 'uicachehttps'):
                 rm(join(config.appdatahome, cachedir, '*'))
-            root_resource = CubicWebRootResource(config)
+            root_resource = CubicWebRootResource(config, config.repository())
             website = server.Site(root_resource)
             # serve it via standard HTTP on port set in the configuration
             port = config['port'] or 8080