Sha256: fcc00d799371b7af716a3d1510d2a9ce6cbe72307edf7a1e77816299cd60e87e

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

module ActiveAdmin
  module Localize
    class Engine < ::Rails::Engine
      #initializer 'ActiveAdmin::Localize precompile hook', group: :all do |app|
      config.after_initialize do
        config.assets.precompile += I18n.available_locales.map do |l|
          "activeadmin-localize/#{l}.svg"
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeadmin-localize-0.3.0 lib/activeadmin-localize/engine.rb
activeadmin-localize-0.2.1 lib/activeadmin-localize/engine.rb
activeadmin-localize-0.2.0 lib/activeadmin-localize/engine.rb
activeadmin-localize-0.1.1 lib/activeadmin-localize/engine.rb
activeadmin-localize-0.1.0 lib/activeadmin-localize/engine.rb