diff options
| author | Christophe Simonis <chs@openerp.com> | 2012-08-08 13:48:18 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2012-08-08 13:48:18 +0200 |
| commit | 9db8f8ac64c9ce3cd5e5b1610c8aaed1ffbd4364 (patch) | |
| tree | 8a4de298ebf3a64e0f3ac2064e517cad872a2c9b /addons/web/common/http.py | |
| parent | 32dd6ddc38b96dcc7bedd4513011f47f71133e9e (diff) | |
[FIX] remove "/mobile" hardcoded redirect
bzr revid: chs@openerp.com-20120808114818-l5tpvlkxm2ylx5ym
Diffstat (limited to 'addons/web/common/http.py')
| -rw-r--r-- | addons/web/common/http.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/addons/web/common/http.py b/addons/web/common/http.py index 9debaa7bcb9..6b1a28e5803 100644 --- a/addons/web/common/http.py +++ b/addons/web/common/http.py @@ -494,10 +494,6 @@ class Root(object): request.parameter_storage_class = werkzeug.datastructures.ImmutableDict request.app = self - if request.path == '/mobile': # FIXME move to web_mobile module - return werkzeug.utils.redirect( - '/web_mobile/static/src/web_mobile.html', 301)(environ, start_response) - handler = self.find_handler(*(request.path.split('/')[1:])) if not handler: |
