add rub_service class to forms that are not in any category

This commit is contained in:
Frédéric Péters 2013-05-08 09:27:05 +02:00
parent f09d2de741
commit 69ec8c9c2c
1 changed files with 1 additions and 0 deletions

View File

@ -819,6 +819,7 @@ class AlternateRootDirectory(OldRootDirectory):
pass
else:
if formdef.category_id is None:
get_response().filter['bigdiv'] = 'rub_service'
return FormsRootDirectory()._q_lookup(component)
# if there is category, let it fall back to raise TraversalError,
# it will get caught in _q_traverse that will redirect it to an