allow setting of main template via controller (which is found via skin)
This commit is contained in:
parent
8080342620
commit
b05c9c5851
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ class NodeView(BaseView):
|
|||
if tv is not None:
|
||||
if tv.isToplevel:
|
||||
return tv(*args, **kw)
|
||||
if self.controller is not None:
|
||||
self.controller.setMainPage()
|
||||
return super(NodeView, self).__call__(*args, **kw)
|
||||
|
||||
@Lazy
|
||||
|
|
Loading…
Add table
Reference in a new issue