Sha256: df790334f7d7d3f7ddc9649bb66924367dfbb5394486754df845d4f833bf6039

Contents?: true

Size: 574 Bytes

Versions: 5

Compression:

Stored size: 574 Bytes

Contents

module TwitterBootstrapBuilder
  class Engine < ::Rails::Engine
    initializer 'twitter_bootstrap_builder' do |app|
      ActiveSupport.on_load(:action_view) do
        class ActionView::Base
          include TwitterBootstrapBuilder::Helpers::CommonsHelper
          include TwitterBootstrapBuilder::Helpers::ButtonsHelper
          include TwitterBootstrapBuilder::Helpers::DropdownsHelper
        end

        class ActionView::Helpers::FormBuilder
          include TwitterBootstrapBuilder::Builders::FormBuilder
        end 
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
twitter_bootstrap_builder-0.0.6 lib/twitter_bootstrap_builder/engine.rb
twitter_bootstrap_builder-0.0.5 lib/twitter_bootstrap_builder/engine.rb
twitter_bootstrap_builder-0.0.4 lib/twitter_bootstrap_builder/engine.rb
twitter_bootstrap_builder-0.0.3 lib/twitter_bootstrap_builder/engine.rb
twitter_bootstrap_builder-0.0.2 lib/twitter_bootstrap_builder/engine.rb