web/views/urlrewrite.py
changeset 3377 dd9d292b6a6d
parent 2748 d2fcf19bfb34
child 3451 6b46d73823f5
--- a/web/views/urlrewrite.py	Wed Sep 23 08:42:52 2009 +0200
+++ b/web/views/urlrewrite.py	Wed Sep 23 09:29:39 2009 +0200
@@ -67,7 +67,7 @@
 
     If the input uri is a regexp, group substitution is allowed
     """
-    id = 'simple'
+    __regid__ = 'simple'
 
     rules = [
         ('/_', dict(vid='manage')),
@@ -179,7 +179,7 @@
     """Here, the rules dict maps regexps or plain strings to
     callbacks that will be called with (input, uri, req, schema)
     """
-    id = 'schemabased'
+    __regid__ = 'schemabased'
     rules = [
         # rgxp : callback
         (rgx('/search/(.+)'), build_rset(rql=r'Any X WHERE X has_text %(text)s',