diff --git a/addons/web/http.py b/addons/web/http.py index 27927e2bb4d..cc3cf7d63b5 100644 --- a/addons/web/http.py +++ b/addons/web/http.py @@ -621,7 +621,7 @@ class Root(object): elif exposed == 'http': _logger.debug("Dispatch http to %s %s %s", ps, c, method_name) return lambda request: HttpRequest(request).dispatch(method) - elif method_name != "index": + if method_name != "index": method_name = "index" continue ps, _slash, method_name = ps.rpartition('/')