Sha256: 75a87f4ef59f695853a99d1a4d69fd2b48fc45aca8db08c47f080dfde05d62a9

Contents?: true

Size: 696 Bytes

Versions: 1

Compression:

Stored size: 696 Bytes

Contents

controller :my_controller do
  services :rest

  action :my_action do
    on_entry %{
      var info = {
        path: "test",
        params: {"hello": "world"}
      }
      Request("rest", "get", info);
    }

    on "rest_res", %{
      rest_res_params = params;
    }
  end
end

controller :my_controller2 do
  action :my_action do
  end
end


controller :root_controller do
  spots "content"

  on_entry %{
    root_base = __base__;
  }

  action :action_a do
    on_entry %{
      Embed("my_controller", "content", {});
    }

    on "next_clicked", %{
      Goto("action_b")
    }
  end

  action :action_b do
    on_entry %{
      Embed("my_controller2", "content", {});
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flok-0.0.105 spec/kern/assets/rest_service/controller1b.rb