Sha256: 8e42a0f4cb34a06fbe9c086e6300c402f99b414925eb22ccec451695d778922d

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

require "nacelle/version"
require "action_controller/railtie"
require "sprockets/railtie"
require "nacelle/cell"
require "nacelle/has_cells"
require "nacelle/after_filter"

module Nacelle
  class Engine < ::Rails::Engine
    initializer "nacelle.init" do |app|
      ActionController::Base.after_action AfterFilter
      ActiveRecord::Base.extend HasCells if defined?(ActiveRecord)
    end

    initializer "nacelle.assets.precompile" do |app|
      app.config.assets.precompile += %w( 
        ckeditor/plugins/cells/icons/insertcell.png
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nacelle-0.6.0 lib/nacelle.rb
nacelle-0.5.0 lib/nacelle.rb