# HG changeset patch # Parent 466d19929560c2a60c347990ea44730ae40ec36d diff --git a/controllers/academy.py b/controllers/academy.py --- a/controllers/academy.py +++ b/controllers/academy.py @@ -12,6 +12,8 @@ class academy(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