# HG changeset patch # Parent a436864e066f91e51d30cc47f03fc42401c4296a diff --git a/controllers.py b/controllers.py --- a/controllers.py +++ b/controllers.py @@ -13,7 +13,7 @@ class Home(main.Home): @http.route('/', auth='none') def index(self): tas = [ - '
  • %s
  • ' % (i, ta['name']) + '
  • %s
  • ' % (i, ta['name']) for i, ta in enumerate(teaching_assistants) ] @@ -42,7 +42,7 @@ class Home(main.Home): 'tas': '\n'.join(tas) } - @http.route('/tas', auth='none') + @http.route('/tas//', auth='none') def ta(self, id): return """ @@ -54,4 +54,4 @@ class Home(main.Home):

    %(name)s

    -""" % teaching_assistants[int(id)] +""" % teaching_assistants[id]