Sha256: 75ab6eaf4cee7fdbecfe736590a8ea2af271f129c6f855c291ce606fc10cab37
Contents?: true
Size: 702 Bytes
Versions: 1
Compression:
Stored size: 702 Bytes
Contents
module BootstrapIt # class Engine < Rails::Engine config.to_prepare do Rails.application.config.i18n.load_path += Dir[Engine.root.join('lib', 'bootstrap_it', 'locales', '*.yml')] Assets.register(Rails.application.assets) end initializer 'bootstrap_it.configure_view_controller' do |app| ActiveSupport.on_load(:action_view) do include BootstrapIt::LayoutHelpers include BootstrapIt::ViewHelpers end # ActiveSupport.on_load :action_controller do # include MyGem::ActionController::Filters # end end # initializer 'bootstrap.view_helpers' do # ViewHelpers.register_helpers ActionView::Base # end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_it-0.1.2 | lib/bootstrap_it/engine.rb |