From c4b1b58ffa7d0a0fb73dd98ee5a58b6c97af9451 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Tue, 17 Jun 2014 13:43:57 +0200 Subject: [PATCH] [FIX] sitemap does not show pages the /page/ controller was not using the ``page`` converter --- 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 e7a9350f8ba..5d908671a89 100644 --- a/addons/website/controllers/main.py +++ b/addons/website/controllers/main.py @@ -49,7 +49,7 @@ class Website(openerp.addons.web.controllers.main.Home): # TODO: can't we just put auth=public, ... in web client ? return super(Website, self).web_login(*args, **kw) - @http.route('/page/', type='http', auth="public", website=True) + @http.route('/page/', type='http', auth="public", website=True) def page(self, page, **opt): values = { 'path': page,