Sha256: 11b7e9b0a75a2252ec481b51da68384407512659dd28b2c9fc412b8ac0ac9081

Contents?: true

Size: 802 Bytes

Versions: 2

Compression:

Stored size: 802 Bytes

Contents

require File.dirname(__FILE__) + '/breadcrumbs.rb'
module BootstrapSassExtras
  class Engine < ::Rails::Engine
    initializer 'bootstrap-sass-extras.setup_helpers' do |app|
      app.config.to_prepare do
        ActionController::Base.send :helper, BootstrapFlashHelper
        ActionController::Base.send :helper, BootstrapViewportMetaHelper
        ActionController::Base.send :helper, GlyphHelper
        ActionController::Base.send :helper, BadgeHelper
        ActionController::Base.send :helper, ModalHelper
        ActionController::Base.send :helper, NavHelper
        ActionController::Base.send :helper, TwitterBreadcrumbsHelper
        ActionController::Base.send :helper, UrlHelper
        ActionController::Base.send :include, BootstrapSassExtras::BreadCrumbs
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap-sass-extras-0.1.0 lib/bootstrap-sass-extras/engine.rb
bootstrap-sass-extras-0.0.7 lib/bootstrap-sass-extras/engine.rb