summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2016-01-11 12:21:55 +0100
committerJeremy Kersten <jke@odoo.com>2016-01-11 12:49:34 +0100
commit33e84a66229434f9a75d1b2a47ec4164732a4ae6 (patch)
tree038fcb60820943b0b42f6205afbfb42745d27230 /addons/web_editor/static/src/js/transcoder.js
parent148c1ed51c7fc013269924eca2d48caef81dc8fb (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/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions