Revert route name !!!
authorThierry Florac <thierry.florac@onf.fr>
Tue, 03 Jul 2018 18:16:59 +0200
changeset 795 d282eb691486
parent 794 32251955c6c9
child 796 2ef3bacda742
Revert route name !!!
src/pyams_content/include.py
--- a/src/pyams_content/include.py	Tue Jul 03 17:21:23 2018 +0200
+++ b/src/pyams_content/include.py	Tue Jul 03 18:16:59 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: