backoffice: reset breadcrumb to have its first element be the backoffice

This commit is contained in:
Frédéric Péters 2015-05-19 17:18:03 +02:00
parent 2b85dbe6c3
commit f52d50b4be
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ class RootDirectory(BackofficeRootDirectory):
return False
def _q_access(self):
get_response().breadcrumb = [] # reinit, root the breadcrumb in the backoffice
get_response().breadcrumb.append( ('backoffice/', _('Back Office')) )
req = get_request()