Sha256: 8d327172ec2a7f7aa42e82f8985e9e546dddea715fc8211a35ad652700cfc746

Contents?: true

Size: 333 Bytes

Versions: 27

Compression:

Stored size: 333 Bytes

Contents

# app/components/satis/sidebar/component.rb
module Satis
  module Sidebar
    class Component < Satis::ApplicationComponent
      attr_reader :menu, :menu_options

      renders_one :header
      renders_one :footer
      renders_many :items

      def initialize(menu)
        super
        @menu = menu
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
satis-2.1.47 app/components/satis/sidebar/component.rb
satis-2.1.46 app/components/satis/sidebar/component.rb
satis-2.1.45 app/components/satis/sidebar/component.rb
satis-2.1.44 app/components/satis/sidebar/component.rb
satis-2.1.43 app/components/satis/sidebar/component.rb
satis-2.1.42 app/components/satis/sidebar/component.rb
satis-2.1.41 app/components/satis/sidebar/component.rb
satis-2.1.40 app/components/satis/sidebar/component.rb
satis-2.1.39 app/components/satis/sidebar/component.rb
satis-2.1.38 app/components/satis/sidebar/component.rb
satis-2.1.37 app/components/satis/sidebar/component.rb
satis-2.1.36 app/components/satis/sidebar/component.rb
satis-2.1.35 app/components/satis/sidebar/component.rb
satis-2.1.33 app/components/satis/sidebar/component.rb
satis-2.1.31 app/components/satis/sidebar/component.rb
satis-2.1.30 app/components/satis/sidebar/component.rb
satis-2.1.29 app/components/satis/sidebar/component.rb
satis-2.1.28 app/components/satis/sidebar/component.rb
satis-2.1.27 app/components/satis/sidebar/component.rb
satis-2.1.26 app/components/satis/sidebar/component.rb