From 245f45d03f63c5f002b29bb24a366d517a647429 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 5 Aug 2015 12:49:36 +0200 Subject: [PATCH] [FIX] website_forum: route to ask a question should be available in GET --- addons/website_forum/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_forum/controllers/main.py b/addons/website_forum/controllers/main.py index 057f4814a6e..560b54ec818 100644 --- a/addons/website_forum/controllers/main.py +++ b/addons/website_forum/controllers/main.py @@ -299,7 +299,7 @@ class WebsiteForum(http.Controller): # Post # -------------------------------------------------- - @http.route(['/forum//ask'], type='http', auth="user", methods=['POST'], website=True) + @http.route(['/forum//ask'], type='http', auth="user", website=True) def forum_post(self, forum, post_type=None, **post): user = request.env.user if post_type not in ['question', 'link', 'discussion']: # fixme: make dynamic