web/views/urlpublishing.py
changeset 7828 749e1a67987f
parent 7794 aed065b97f12
child 8039 1fe90d4ec307
--- a/web/views/urlpublishing.py	Thu Sep 22 16:12:23 2011 +0200
+++ b/web/views/urlpublishing.py	Thu Sep 22 16:12:28 2011 +0200
@@ -174,7 +174,7 @@
                 except KeyError:
                     raise PathDontMatch()
             else:
-                attrname = cls._rest_attr_info()[0]
+                attrname = cls.cw_rest_attr_info()[0]
             value = req.url_unquote(parts.pop(0))
             return self.handle_etype_attr(req, cls, attrname, value)
         return self.handle_etype(req, cls)