Module: BootstrapLeather::HeroUnitHelper

Included in:
ApplicationHelper
Defined in:
app/helpers/bootstrap_leather/hero_unit_helper.rb

Overview

Hero Unit, i.e. Jumbotron

Instance Method Summary collapse

Instance Method Details

#add_hero_unit(&block) ⇒ Object



6
7
8
# File 'app/helpers/bootstrap_leather/hero_unit_helper.rb', line 6

def add_hero_unit(&block)
  content_for :hero_unit, &block
end

#render_hero_unitObject



10
11
12
# File 'app/helpers/bootstrap_leather/hero_unit_helper.rb', line 10

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