web/views/wdoc.py
changeset 3655 af86ab65a282
parent 3503 06bced8edddf
child 3733 c3feb6a33f58
--- a/web/views/wdoc.py	Tue Oct 13 12:04:36 2009 +0200
+++ b/web/views/wdoc.py	Tue Oct 13 15:59:05 2009 +0200
@@ -237,7 +237,7 @@
 
 
 class ChangeLogAction(action.Action):
-    id = 'changelog'
+    __regid__ = 'changelog'
     __select__ = yes()
 
     category = 'footer'
@@ -245,11 +245,11 @@
     title = ChangeLogView.title
 
     def url(self):
-        return self.req.build_url('changelog')
+        return self._cw.build_url('changelog')
 
 
 class AboutAction(action.Action):
-    id = 'about'
+    __regid__ = 'about'
     __select__ = yes()
 
     category = 'footer'
@@ -257,5 +257,5 @@
     title = _('about this site')
 
     def url(self):
-        return self.req.build_url('doc/about')
+        return self._cw.build_url('doc/about')