Sha256: 1f66600e96c7801181d07c32a9cb5d2a5085ef33f7431f6e6ef6178617596183

Contents?: true

Size: 224 Bytes

Versions: 22

Compression:

Stored size: 224 Bytes

Contents

module Kuhsaft
  class TextBrick < Brick
    attr_accessible :text, :read_more_text

    def user_can_add_childs?
      false
    end

    def collect_fulltext
      [super, text, read_more_text].join(' ')
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
kuhsaft-1.6.0 app/models/kuhsaft/text_brick.rb
kuhsaft-1.5.0 app/models/kuhsaft/text_brick.rb
kuhsaft-1.4.3 app/models/kuhsaft/text_brick.rb
kuhsaft-1.4.2 app/models/kuhsaft/text_brick.rb
kuhsaft-1.4.1 app/models/kuhsaft/text_brick.rb
kuhsaft-1.4.0 app/models/kuhsaft/text_brick.rb
kuhsaft-1.3.1 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.15 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.14 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.13 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.12 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.10 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.9 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.8 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.7 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.6 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.5 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.4 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.3 app/models/kuhsaft/text_brick.rb
kuhsaft-1.2.2 app/models/kuhsaft/text_brick.rb