Update OID route pattern
authorThierry Florac <thierry.florac@onf.fr>
Tue, 03 Jul 2018 17:21:23 +0200
changeset 794 32251955c6c9
parent 793 81f31c136e84
child 795 d282eb691486
Update OID route pattern
src/pyams_content/include.py
--- a/src/pyams_content/include.py	Tue Jul 03 14:30:46 2018 +0200
+++ b/src/pyams_content/include.py	Tue Jul 03 17:21:23 2018 +0200
@@ -27,7 +27,7 @@
     config.add_translation_dirs('pyams_content:locales')
 
     # add custom routes
-    config.add_route('oid_access', '/+/{oid}*view')
+    config.add_route('oid_access', '/+{oid}*view')
 
     # load registry components
     try: