lib/bootstrap-editable-rails.rb in bootstrap-editable-rails-0.0.2 vs lib/bootstrap-editable-rails.rb in bootstrap-editable-rails-0.0.3

- old
+ new

@@ -1,10 +1,16 @@ -require "bootstrap-editable-rails/version" +require 'bootstrap-editable-rails/version' +require 'bootstrap-editable-rails/view_helper' module Bootstrap module Editable module Rails class Engine < ::Rails::Engine + initializer 'bootstrap-editable-rails' do + ::ActiveSupport.on_load(:action_view) do + ::ActionView::Base.send :include, Bootstrap::Editable::Rails::ViewHelper + end + end end end end end