Skip to content
Snippets Groups Projects
Commit 267e5db7 authored by Fabien Meghazi's avatar Fabien Meghazi
Browse files

Merge pull request #587 from odoo-dev/master-incomplete-sitemap-fme

[FIX] sitemap does not show pages (Fixes #452)

the /page/ controller was not using the page converter
parents 1870fa81 c4b1b58f
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment