How can I get variables in view from other controller?
For example:
mycontroller/
def options():
return dict(a='hello', b='world')
and in some view I need something like this:
{{ options = mycontroller/options() }}
{{=a}} {{=b}}
How can I get variables in view from other controller?
For example:
mycontroller/
def options():
return dict(a='hello', b='world')
and in some view I need something like this:
{{ options = mycontroller/options() }}
{{=a}} {{=b}}