[Checkins] SVN: bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/more.txt fix wrong variable name, force redirect (works now for Folders and Documents)

Michael Haubenwallner michael at d2m.at
Wed May 27 06:57:39 EDT 2009


Log message for revision 100447:
  fix wrong variable name, force redirect (works now for Folders and Documents)

Changed:
  U   bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/more.txt

-=-
Modified: bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/more.txt
===================================================================
--- bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/more.txt	2009-05-27 10:55:29 UTC (rev 100446)
+++ bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/more.txt	2009-05-27 10:57:38 UTC (rev 100447)
@@ -198,11 +198,11 @@
 
         @bobo.query('')
         def base(self, bobo_request):
-            return bobo.redirect(request.url+'/')
+            return bobo.redirect(bobo_request.url+'/')
 
         @bobo.query('/')
         def index(self):
-            return '\n'.join('<a href="%s/">%s<a><br>' % (k, k)
+            return '\n'.join('<a href="%s">%s<a><br>' % (k, k)
                              for k in self.data)
 
         @bobo.subroute('/:item_id')



More information about the Checkins mailing list