[FIX] missing website=True after conversion website.route -> http.route

bzr revid: xmo@openerp.com-20140123111346-7sunt839fh3f1ww5
This commit is contained in:
Xavier Morel 2014-01-23 12:13:46 +01:00
parent d6855c0bcb
commit 7f4fc27fc0
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class Website(openerp.addons.web.controllers.main.Home):
response = request.website.render(response.params['template'], values)
return response
@http.route('/pagenew/<path:path>', type='http', auth="user")
@http.route('/pagenew/<path:path>', type='http', auth="user", website=True)
def pagenew(self, path, noredirect=NOPE):
web = request.registry['website']
try: