Sha256: 825f35b9929af65df80c24159fc7c88b99032cf4f0d864104a22de7f3b01d80c

Contents?: true

Size: 537 Bytes

Versions: 16

Compression:

Stored size: 537 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 "test_event", %{
      //Forward params
      Lower("hello", "lower_request", params);
    }
  end
end

controller :my_sub_controller do
  view :test_view2
  spots "hello", "world"

  action :my_action do
    on_entry %{
    }

    on "lower_request", %{
      lower_request_called_with = params;
    }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
flok-0.0.31 spec/kern/assets/lower_event.rb
flok-0.0.30 spec/kern/assets/lower_event.rb
flok-0.0.29 spec/kern/assets/lower_event.rb
flok-0.0.28 spec/kern/assets/lower_event.rb
flok-0.0.27 spec/kern/assets/lower_event.rb
flok-0.0.26 spec/kern/assets/lower_event.rb
flok-0.0.25 spec/kern/assets/lower_event.rb
flok-0.0.24 spec/kern/assets/lower_event.rb
flok-0.0.23 spec/kern/assets/lower_event.rb
flok-0.0.21 spec/kern/assets/lower_event.rb
flok-0.0.20 spec/kern/assets/lower_event.rb
flok-0.0.19 spec/kern/assets/lower_event.rb
flok-0.0.18 spec/kern/assets/lower_event.rb
flok-0.0.17 spec/kern/assets/lower_event.rb
flok-0.0.16 spec/kern/assets/lower_event.rb
flok-0.0.14 spec/kern/assets/lower_event.rb