Sha256: 879846dfd78fdbe391c174dc330235e9e55a4079441bc2fc234bafdbfe345346
Contents?: true
Size: 548 Bytes
Versions: 69
Compression:
Stored size: 548 Bytes
Contents
controller :my_controller do 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 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
69 entries across 69 versions & 1 rubygems