allow setting of main template via controller (which is found via skin)

This commit is contained in:
Helmut Merz 2016-01-09 12:02:14 +01:00
parent 8080342620
commit b05c9c5851

View file

@ -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