webish: make /cap/ equivalent to /uri/, accepting both with the same meanings. Closes...
authorBrian Warner <warner@allmydata.com>
Tue, 3 Jun 2008 21:34:00 +0000 (14:34 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 3 Jun 2008 21:34:00 +0000 (14:34 -0700)
src/allmydata/web/root.py

index 9e752b85520f9441e4d2e9da0cd1c6033e9954fa..561bb98843bca29294b01881cacc82ffdfe0a227 100644 (file)
@@ -110,6 +110,7 @@ class Root(rend.Page):
     docFactory = getxmlfile("welcome.xhtml")
 
     child_uri = URIHandler()
+    child_cap = URIHandler()
     child_file = FileHandler()
     child_named = FileHandler()