Sha256: daffeb9b97502bfc00c0460159423df7d1ff1f8251f0a2f227cef3116cda03e8

Contents?: true

Size: 264 Bytes

Versions: 4

Compression:

Stored size: 264 Bytes

Contents

module ActiveAdmin
  class Engine < Rails::Engine
    if Rails.version > "3.1"
      initializer "ActiveAdmin precompile hook" do |app|
        app.config.assets.precompile += %w(active_admin.js active_admin.css active_admin/print.css)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activeadmin-0.5.1 lib/active_admin/engine.rb
activeadmin-0.5.0 lib/active_admin/engine.rb
activeadmin-0.5.0.pre1 lib/active_admin/engine.rb
activeadmin-0.5.0.pre lib/active_admin/engine.rb