web/views/urlpublishing.py
changeset 3720 5376aaadd16b
parent 3377 dd9d292b6a6d
parent 3689 deb13e88e037
child 4023 eae23c40627a
--- a/web/views/urlpublishing.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/web/views/urlpublishing.py	Mon Oct 19 15:16:41 2009 +0200
@@ -158,7 +158,7 @@
             if len(parts) == 2:
                 attrname = parts.pop(0).lower()
                 try:
-                    cls.e_schema.subject_relation(attrname)
+                    cls.e_schema.subjrels[attrname]
                 except KeyError:
                     raise PathDontMatch()
             else: