From be1fe080c93d735dd41b1c8bf8427e68ba90db6a Mon Sep 17 00:00:00 2001
From: Xavier Morel <xmo@openerp.com>
Date: Fri, 7 Feb 2014 15:07:07 +0100
Subject: [PATCH] [FIX] ta controller parameter

---
 doc/howto/howto_website/ta-t-field | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/doc/howto/howto_website/ta-t-field b/doc/howto/howto_website/ta-t-field
index 706850a41edf..9bc52d052dd5 100644
--- a/doc/howto/howto_website/ta-t-field
+++ b/doc/howto/howto_website/ta-t-field
@@ -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
-- 
GitLab