lib/flag-icon-sass/rails/engine.rb in flag-icon-sass-0.1 vs lib/flag-icon-sass/rails/engine.rb in flag-icon-sass-1.1.0

- old
+ new

@@ -1,12 +1,11 @@ module FlagIconSass module Rails class Engine < ::Rails::Engine initializer 'flag-icon-sass.assets.precompile' do |app| - %w(stylesheets images).each do |sub| - app.config.assets.paths << root.join('assets', sub).to_s + Dir.glob("#{root}/app/assets/images/flags/**/").each do |path| + config.assets.paths << path end - app.config.assets.precompile << /\.(?:svg)\z/ end end end end