Sha256: 8f84c98cd640e0ada3530a4c2178cce1b83ad8da76955fda851bbd41673ff459

Contents?: true

Size: 273 Bytes

Versions: 20

Compression:

Stored size: 273 Bytes

Contents

module WireframeHelper
  extend CoreHelper

  def frame_for_breadcrumbs
    content_for?(:breadcrumbs) ? content_for(:breadcrumbs) : breadcrumbs.render(class: 'breadcrumb')
  end

  def frame_for_footer
    content_for?(:footer) ? content_for(:footer) : "Footer"
  end

end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
mix-rails-0.26.1 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.26.1 app/helpers/wireframe_helper.rb
mix-rails-0.26.0 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.26.0 app/helpers/wireframe_helper.rb
mix-rails-0.25.1 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.25.1 app/helpers/wireframe_helper.rb
mix-rails-0.25.0 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.25.0 app/helpers/wireframe_helper.rb
mix-rails-0.24.1 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.24.1 app/helpers/wireframe_helper.rb
mix-rails-0.24.0 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.24.0 app/helpers/wireframe_helper.rb
mix-rails-0.23.1 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.23.1 app/helpers/wireframe_helper.rb
mix-rails-0.23.0 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.23.0 app/helpers/wireframe_helper.rb
mix-rails-0.22.0 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.22.0 app/helpers/wireframe_helper.rb
mix-rails-0.16.0 mix-rails-wireframe/app/helpers/wireframe_helper.rb
mix-rails-wireframe-0.16.0 app/helpers/wireframe_helper.rb