Sha256: 106bf408d9f7f940fdeb953ff971a332e55ea03ed795e35929dbc9f5d75f049c

Contents?: true

Size: 291 Bytes

Versions: 10

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

module BootstrapLeather
  # Hero Unit, i.e. Jumbotron
  module HeroUnitHelper
    def add_hero_unit(&block)
      content_for :hero_unit, &block
    end

    def render_hero_unit
      render(partial: 'bootstrap_leather/hero_unit/hero_unit')
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bootstrap_leather-0.10.14 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.13 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.11 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.10 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.9 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.8 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.7 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.6 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.5 app/helpers/bootstrap_leather/hero_unit_helper.rb
bootstrap_leather-0.10.4 app/helpers/bootstrap_leather/hero_unit_helper.rb