From 4d6e7e2d2e6ae8b1ef2aeefde9005ae8f26dc233 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Mon, 20 Jan 2014 17:12:37 +0100 Subject: [PATCH] [REM] Remove testing route bzr revid: fme@openerp.com-20140120161237-m96w38qd6zqajc12 --- addons/website/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')