[FIX] sitemap does not show pages

the /page/ controller was not using the ``page`` converter
This commit is contained in:
Fabien Meghazi 2014-06-17 13:43:57 +02:00
parent 1870fa813d
commit c4b1b58ffa
1 changed files with 1 additions and 1 deletions

View File

@ -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/<path:page>', type='http', auth="public", website=True)
@http.route('/page/<page:page>', type='http', auth="public", website=True)
def page(self, page, **opt):
values = {
'path': page,