diff --git a/lib/bootstrap-editable-rails.rb b/lib/bootstrap-editable-rails.rb index 60211aa..761e1d1 100644 --- a/lib/bootstrap-editable-rails.rb +++ b/lib/bootstrap-editable-rails.rb @@ -9,7 +9,7 @@ class Engine < ::Rails::Engine ::ActiveSupport.on_load(:action_view) do ::ActionView::Base.send :include, Bootstrap::Editable::Rails::ViewHelper end - app.config.assets.precompile << %r(bootstrap-editable/.*\.(?:png|gif)$) + app.config.assets.precompile << "bootstrap-editable/**/*.{gif,png}" end end end