Sha256: 25bf39e123e91168e63828c24c1d1d54b248a4f25499367723574a5cb31697d2

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

class KindaComplexComponent < Netzke::Base
  module ExtraStuff
    extend ActiveSupport::Concern
    
    included do
      component :server_caller
    end
    
    # Let's add another tab with a Netzke component in it
    def final_config
      orig = super
      orig[:items] << :server_caller.component
      orig
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzke-core-0.6.2 test/rails_app/app/components/kinda_complex_component/extra_stuff.rb