Sha256: 629ac35e54232ee5121f809c0d5c6d298dabfcb23aeeb0a0ec3a70f2422807ed

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 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
        end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twitter_bootstrap_builder-0.0.1 lib/twitter_bootstrap_builder/engine.rb