summaryrefslogtreecommitdiff
path: root/doc/howtos/website/routing-basic
diff options
context:
space:
mode:
Diffstat (limited to 'doc/howtos/website/routing-basic')
-rw-r--r--doc/howtos/website/routing-basic19
1 files changed, 0 insertions, 19 deletions
diff --git a/doc/howtos/website/routing-basic b/doc/howtos/website/routing-basic
deleted file mode 100644
index 933b6540b27..00000000000
--- a/doc/howtos/website/routing-basic
+++ /dev/null
@@ -1,19 +0,0 @@
-# HG changeset patch
-# Parent 0795247fa6cbb63238941f3dd26a8b6144fa71ee
-# Parent f66ff336f8ed20e022660bd74a43af1b44a1f275
-
-diff --git a/academy/controllers.py b/academy/controllers.py
---- a/academy/controllers.py
-+++ b/academy/controllers.py
-@@ -9,6 +9,11 @@ class Academy(http.Controller):
- 'teachers': Teachers.search([])
- })
-
-+ @http.route('/academy/<name>/', auth='public', website=True)
-+ def teacher(self, name):
-+ return '<h1>{}</h1>'.format(name)
-+
-+
- # @http.route('/academy/academy/objects/', auth='public')
- # def list(self, **kw):
- # return http.request.render('academy.listing', {