Sha256: 3a0613cf99c4a62b96d768a89fbd46e04dbefb5ed592c5d3593647a32a835276

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

module ActiveAdmin
  class Engine < Rails::Engine
    if Rails.version > "3.1"
      initializer "ActiveAdmin precompile hook" do |app|
        app.config.assets.precompile += ['active_admin.js', 'active_admin.css']
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-0.4.4 lib/active_admin/engine.rb
activeadmin-0.4.3 lib/active_admin/engine.rb
activeadmin-0.4.2 lib/active_admin/engine.rb