diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 5c02cbe0279..b74efc9c452 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -556,9 +556,9 @@ class Home(http.Controller): @http.route([ '/web/js/', - '/web/js//', + '/web/js//', ], type='http', auth='public') - def js_bundle(self, xmlid, sha=None, **kw): + def js_bundle(self, xmlid, version=None, **kw): try: bundle = AssetsBundle(xmlid) except QWebTemplateNotFound: @@ -569,9 +569,9 @@ class Home(http.Controller): @http.route([ '/web/css/', - '/web/css//', + '/web/css//', ], type='http', auth='public') - def css_bundle(self, xmlid, sha=None, **kw): + def css_bundle(self, xmlid, version=None, **kw): try: bundle = AssetsBundle(xmlid) except QWebTemplateNotFound: