Sha256: c2b3e6e14ad1205bd3972c40712fcfc0ec8ef9bcb96babfa304c3baa175e8630
Contents?: true
Size: 585 Bytes
Versions: 16
Compression:
Stored size: 585 Bytes
Contents
controller :my_controller do view :test_view spots "hello", "world" action :my_action do on_entry %{ var payload = {secret: context.secret}; Embed("my_sub_controller", "hello", payload); } on "raise_res", %{ //Sets after on_entry of my_sub_controller raise_res_context = params; } end end controller :my_sub_controller do view :test_view2 spots "hello", "world" action :my_action do on_entry %{ context.hello = "world" //This sends context to 'my_controller' Raise("raise_res", context); } end end
Version data entries
16 entries across 16 versions & 1 rubygems