# HG changeset patch # Parent d757ab6e2223e63f283b31815c8ff650ea42e2e7 diff --git a/controllers.py b/controllers.py --- a/controllers.py +++ b/controllers.py @@ -10,6 +10,8 @@ class Home(main.Home): 'tas': tas, }) - @http.route('/tas//', auth='public', website=True) - def ta(self, id): - return http.request.website.render('academy.ta', teaching_assistants[id]) + @http.route('/tas//', auth='public', website=True) + def ta(self, ta): + return http.request.website.render('academy.ta', { + 'ta': ta + }) diff --git a/views/templates.xml b/views/templates.xml --- a/views/templates.xml +++ b/views/templates.xml @@ -17,7 +17,7 @@

Teaching Assistants