add rub_service class to forms that are not in any category
This commit is contained in:
parent
f09d2de741
commit
69ec8c9c2c
|
@ -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
|
||||
|
|
Reference in New Issue