web/views/basetemplates.py
changeset 3460 e4843535db25
parent 3451 6b46d73823f5
child 3503 06bced8edddf
--- a/web/views/basetemplates.py	Thu Sep 24 00:23:32 2009 +0200
+++ b/web/views/basetemplates.py	Thu Sep 24 00:24:21 2009 +0200
@@ -59,7 +59,7 @@
         msg = self._cw._('you have been logged out')
         w(u'<h2>%s</h2>\n' % msg)
         if self._cw.config['anonymous-user']:
-            indexurl = self.build_url('view', vid='index', __message=msg)
+            indexurl = self._cw.build_url('view', vid='index', __message=msg)
             w(u'<p><a href="%s">%s</a><p>' % (
                 xml_escape(indexurl),
                 self._cw._('go back to the index page')))