[FIX] ta controller parameter
This commit is contained in:
parent
a416ca66d0
commit
be1fe080c9
|
@ -1,5 +1,18 @@
|
|||
# HG changeset patch
|
||||
# Parent e00d1176e7ba0a515a45874d9f9e8703722810d1
|
||||
# Parent 8129831c739fb22d1f6fbccdc6f453f6a0a9e24f
|
||||
|
||||
diff --git a/controllers/my_controller.py b/controllers/my_controller.py
|
||||
--- a/controllers/my_controller.py
|
||||
+++ b/controllers/my_controller.py
|
||||
@@ -13,7 +13,7 @@ class my_controller(main.Home):
|
||||
})
|
||||
|
||||
@http.route('/tas/<model("academy.tas"):ta>/', auth='public', website=True)
|
||||
- def ta(self, id):
|
||||
+ 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
|
||||
|
|
Loading…
Reference in New Issue