]> git.ipfire.org Git - ipfire.org.git/commitdiff
www: Move /screenshots to /about as we have no screenshots atm.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Jan 2011 11:58:14 +0000 (12:58 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Jan 2011 11:58:14 +0000 (12:58 +0100)
www/webapp/__init__.py

index dff381951169d39ee6f4d030b143115f0a10e29f..065dade3402032d16973eac8b22a3eb6e2195da7 100644 (file)
@@ -63,6 +63,9 @@ class Application(tornado.web.Application):
                        # Download sites
                        (r"/downloads?", DownloadHandler),
 
+                       # Handle old pages that have moved elsewhere
+                       (r"/screenshots", tornado.web.RedirectHandler, { "url" : "/about" }),
+
                        # RSS feed
                        (r"/news.rss", RSSNewsHandler),