changeset 12911 | a17cbf539a69 |
parent 12789 | a073ebcb6518 |
--- a/cubicweb/pyramid/__init__.py Tue Mar 10 23:44:45 2020 +0100 +++ b/cubicweb/pyramid/__init__.py Tue Mar 10 23:47:50 2020 +0100 @@ -231,6 +231,8 @@ cwconfig = config.registry.get('cubicweb.config') repo = config.registry.get('cubicweb.repository') + config.include('cubicweb.pyramid.rest_api') + if repo is not None: if cwconfig is None: config.registry['cubicweb.config'] = cwconfig = repo.config