lib/flag-icon-sass/rails/engine.rb in flag-icon-sass-1.1.1 vs lib/flag-icon-sass/rails/engine.rb in flag-icon-sass-1.1.3
- old
+ new
@@ -1,10 +1,10 @@
module FlagIconSass
module Rails
class Engine < ::Rails::Engine
initializer 'flag-icon-sass.assets.precompile' do |app|
Dir.glob("#{root}/app/assets/images/flags/**/").each do |path|
- config.assets.paths << path
+ app.config.assets.paths << path
end
end
end
end
end