summaryrefslogtreecommitdiff
path: root/addons/website_mail
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2016-01-28 11:01:15 +0100
committerJeremy Kersten <jke@odoo.com>2016-01-28 14:00:26 +0100
commit28e2dcf043dd853938b1bb385f81fa285b4df567 (patch)
treefc28c855b05d4c73f1dedfb7849ddc8ddd1e5cad /addons/website_mail
parentca343f7b041b6b8c7223748214392a77f3b7735f (diff)
[FIX] website_payment, website_mail: fix route declaration typo
Missing s of method for allowed methods.
Diffstat (limited to 'addons/website_mail')
-rw-r--r--addons/website_mail/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_mail/controllers/main.py b/addons/website_mail/controllers/main.py
index a71d25dea51..64f11412aa1 100644
--- a/addons/website_mail/controllers/main.py
+++ b/addons/website_mail/controllers/main.py
@@ -163,7 +163,7 @@ class WebsiteMail(http.Controller):
except Exception:
return False
- @http.route(['/website_mail/post/post'], type='http', method=['POST'], auth='public', website=True)
+ @http.route(['/website_mail/post/post'], type='http', methods=['POST'], auth='public', website=True)
def chatter_post(self, res_model='', res_id=None, message='', redirect=None, **kw):
res_id = int(res_id)
url = request.httprequest.referrer