Sha256: 25da42683691b0a7a0b7f8b05bf985f071a26490e9a5093ecf68ec3e9c58d43b

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

module Ecm
  module Staff
    class Engine < ::Rails::Engine
      initializer :ecm_staff_engine do
        ActiveAdmin.setup do |config|
          config.load_paths << File.join(self.root, 'lib/ecm/staff/active_admin')

          config.register_stylesheet 'ecm_staff_active_admin.css'

          Rails.application.config.assets.precompile += %w(
            ecm_staff_active_admin.css
          )
        end
      end # initializer :ecm_staff_engine do
    end # class Engine < ::Rails::Engine
  end # module Staff
end # module Ecm

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_staff-0.0.2.pre lib/ecm/staff/engine.rb