diff options
| author | Jeremy Kersten <jke@odoo.com> | 2016-01-11 12:21:55 +0100 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2016-01-11 12:49:34 +0100 |
| commit | 33e84a66229434f9a75d1b2a47ec4164732a4ae6 (patch) | |
| tree | 038fcb60820943b0b42f6205afbfb42745d27230 /addons/mail/data/mail_shortcode_data.xml | |
| parent | 148c1ed51c7fc013269924eca2d48caef81dc8fb (diff) | |
[FIX] website: fix sitemap to avoid to get post route inside
Route with method="['POST']" should not appear in sitemap
This code had never works.
rule.method is not the list of methods declared on the endpoint but "the HTTP
method for the rule if there are different URLs for different methods on
the same endpoint" (src http://werkzeug.pocoo.org/docs/0.11/routing/)
The new code uses the method declared on endpoint and so will avoid to add
endpoint with method declared and wich doesn't support GET.
Diffstat (limited to 'addons/mail/data/mail_shortcode_data.xml')
0 files changed, 0 insertions, 0 deletions
