summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2014-01-20 17:12:37 +0100
committerFabien Meghazi <fme@openerp.com>2014-01-20 17:12:37 +0100
commit4d6e7e2d2e6ae8b1ef2aeefde9005ae8f26dc233 (patch)
tree8b51dc420626e541ee992704aec681d5f2b9f5d0
parent14bb6060d74277ffbd55ddd2b87538089c61ac52 (diff)
[REM] Remove testing route
bzr revid: fme@openerp.com-20140120161237-m96w38qd6zqajc12
-rw-r--r--addons/website/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/controllers/main.py b/addons/website/controllers/main.py
index e0203c4746d..56132472a17 100644
--- a/addons/website/controllers/main.py
+++ b/addons/website/controllers/main.py
@@ -31,7 +31,7 @@ NOPE = object()
MAX_IMAGE_WIDTH, MAX_IMAGE_HEIGHT = IMAGE_LIMITS = (1024, 768)
class Website(openerp.addons.web.controllers.main.Home):
- @http.route(['/', '/2'], type='http', auth="public", website=True, multilang=True)
+ @http.route('/', type='http', auth="public", website=True, multilang=True)
def index(self, **kw):
try:
main_menu = request.registry['ir.model.data'].get_object(request.cr, request.uid, 'website', 'main_menu')