Sha256: 9f5fd14e11d421413974ec17fd9510f6bf2c168150f89dbd6c7a73d2a30ac768
Contents?: true
Size: 473 Bytes
Versions: 13
Compression:
Stored size: 473 Bytes
Contents
module DjDashboard class Engine < Rails::Engine initializer 'dj_dashboard.load_app_instance_data' do |app| DjDashboard.setup do |config| config.app_root = app.root end end initializer 'dj_dashboard.load_static_assets' do |app| app.middleware.use ::ActionDispatch::Static, "#{root}/public" if Rails.version =~ /3.0/ app.middleware.use ::ActionDispatch::Static, "#{root}/app/assets" if Rails.version =~ /3.1/ end end end
Version data entries
13 entries across 13 versions & 1 rubygems