Sha256: dcf30ce5d869371e95a4d0265821409bd8ecd4ffe669f9dc020a9024a849c33b

Contents?: true

Size: 883 Bytes

Versions: 1

Compression:

Stored size: 883 Bytes

Contents

controller :my_controller do
  spots "content"

  action :index do
    on_entry %{
      on_entry_base_pointer = __base__;
      Embed("my_controller2", "content", {});
    }

    on "next_clicked", %{
      Push("other")
    }

  end

  action :other do
    on_entry %{
      Embed("my_controller3", "content", {});
    }

    on "back_clicked", %{
      Pop();
    }
  end
end

controller :my_controller2 do
  action :index do
    on_entry %{
      on_entry_base_pointer2 = __base__;
    }

    on "next_clicked", %{
      Push("other2")
    }

    on "olah", %{
    }

  end

  action :other2 do
    on "test", %{
    }

    on "next_clicked", %{
      Push("index")
    }

    on "back_clicked", %{
      Pop();
    }
    
    on "olah2", %{
    }
  end
end


controller :my_controller3 do
  action :index do
    on_entry %{
      my_controller3_base = __base__;
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flok-0.0.105 spec/kern/assets/hook_entry_points/controller_0b_pop2.rb