Sha256: 1ee298fad67ebbc8ab3db3466df310bee61db015dc4b9171d2e531d86a28d871

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module FlagIconsRails
  module Rails
    class Engine < ::Rails::Engine
      initializer 'flag-icons-rails.assets.precompile' do |app|
        %w[stylesheets images].each do |sub|
          app.config.assets.paths << root.join('app', 'assets', sub).to_s
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flag-icons-rails-3.4.6.1 lib/flag-icons-rails/rails/engine.rb
flag-icons-rails-3.4.6 lib/flag-icons-rails/rails/engine.rb
flag-icons-rails-3.4.5 lib/flag-icons-rails/rails/engine.rb
flag-icons-rails-3.1.0 lib/flag-icons-rails/rails/engine.rb
flag-icons-rails-2.5.0 lib/flag-icons-rails/rails/engine.rb