cubicweb/pyramid/rest_api.py
changeset 11959 ddc05ce75319
parent 11811 f09efeead7f9
child 11967 83739be20fab
--- a/cubicweb/pyramid/rest_api.py	Fri Feb 10 16:33:16 2017 +0100
+++ b/cubicweb/pyramid/rest_api.py	Fri Feb 10 16:55:23 2017 +0100
@@ -16,6 +16,7 @@
 
 
 def includeme(config):
+    config.include('.predicates')
     config.add_route(
         'cwentities', '/{etype}/*traverse',
         factory=ETypeResource.from_match('etype'), match_is_etype='etype')