diff options
Diffstat (limited to 'index.py')
-rwxr-xr-x | index.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -8,6 +8,7 @@ urls = ( '/neu.*', 'new', '/new', 'new', '/help/spam.*', 'spam', + '/help/unsubscribe\.([a-z]+).*', 'unsubscribe', ) render = template.render('templates/', base='layout'); @@ -30,6 +31,13 @@ class spam: def GET(self): return render.spam() +class unsubscribe: + def GET(self, lang): + if (lang.startswith('de')): + return render.unsubscribe_de() + else: + return render.unsubscribe_en() + class new: def GET(self): form = create_form() |