From 1cec2a5b6f392902adb7c19935a5519834366eaa Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 16 Oct 2013 11:32:48 +0200 Subject: [REM] Obsolete route /admin bzr revid: fme@openerp.com-20131016093248-2q2c8ppkxxhfx1su --- addons/website/controllers/main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'addons/website/controllers/main.py') diff --git a/addons/website/controllers/main.py b/addons/website/controllers/main.py index baa6b6c780b..083f9f3aef7 100644 --- a/addons/website/controllers/main.py +++ b/addons/website/controllers/main.py @@ -51,11 +51,7 @@ class Website(openerp.addons.web.controllers.main.Home): def index(self, **kw): return self.page("website.homepage") - @http.route('/admin', type='http', auth="none") - def admin(self, *args, **kw): - return super(Website, self).index(*args, **kw) - - # FIXME: auth, if /pagenew known anybody can create new empty page + # FIXME: auth, if /pagenew known anybody can create new empty page @website.route('/pagenew/', type='http', auth="admin") def pagenew(self, path, noredirect=NOPE): module = 'website' -- cgit v1.2.3