Sha256: e785a7b46baf7d1dc1e7eb33817ab94be054d887dcafe2dbc874e510ab26ad86

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-0.6.3 lib/active_admin/engine.rb
activeadmin-0.6.2 lib/active_admin/engine.rb
activeadmin-0.6.1 lib/active_admin/engine.rb