use default templating for admin/backoffice

This commit is contained in:
Frédéric Péters 2006-10-15 21:29:58 +00:00
parent 8260912191
commit c3773788ce
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ def decorate(body, response):
body = str(body)
section = get_request().get_path(-1)
if section in ('/backoffice', '/admin'):
return wcs_decorate(body, response)
section_title = ''
page_title = response.filter.get('title')