lib/bootstrap-editable-rails.rb in bootstrap-editable-rails-0.0.5 vs lib/bootstrap-editable-rails.rb in bootstrap-editable-rails-0.0.6

- old
+ new

@@ -3,13 +3,14 @@ module Bootstrap module Editable module Rails class Engine < ::Rails::Engine - initializer 'bootstrap-editable-rails' do + initializer 'bootstrap-editable-rails' do |app| ::ActiveSupport.on_load(:action_view) do ::ActionView::Base.send :include, Bootstrap::Editable::Rails::ViewHelper end + app.config.assets.precompile << %r(bootstrap-editable/.*\.(?:png|gif)$) end end end end end