# HG changeset patch # User Thierry Florac # Date 1464874329 -7200 # Node ID 69a8e0ec55555e64cef49006951854e04c1b9972 # Parent 7cdbe0f6e5c2775a13ae11a801683a8076d9534e Added 'oid_access' route diff -r 7cdbe0f6e5c2 -r 69a8e0ec5555 src/pyams_content/include.py --- a/src/pyams_content/include.py Thu Jun 02 15:31:37 2016 +0200 +++ b/src/pyams_content/include.py Thu Jun 02 15:32:09 2016 +0200 @@ -26,6 +26,9 @@ # add translations config.add_translation_dirs('pyams_content:locales') + # add custom routes + config.add_route('oid_access', '/+/{oid}*view') + # load registry components try: import pyams_zmi