Sha256: 7e77d0039a9f87e6bbfd1d649524bcbf8cef6e1c22e5ff261ab3c5ed28c22cbb

Contents?: true

Size: 579 Bytes

Versions: 11

Compression:

Stored size: 579 Bytes

Contents

module Dynaspan
  class Engine < ::Rails::Engine
    isolate_namespace Dynaspan

    initializer 'dynaspan.assets.precompile', group: :all do |app|
      app.config.assets.precompile += %W(
        dynaspan/*.js
        dynaspan/*.css
        dynaspan/*.png
        dynaspan/*.gif
        dynaspan/*.html
        dynaspan/*.md
      )
    end

    initializer 'dynaspan.action_controller' do |app|
      ActiveSupport.on_load :action_controller do
        helper Dynaspan::ApplicationHelper
      end
    end

    rake_tasks do
      load "dynaspan/tasks.rake"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dynaspan-0.1.1 lib/dynaspan/engine.rb
dynaspan-0.1.0 lib/dynaspan/engine.rb
dynaspan-0.0.9 lib/dynaspan/engine.rb
dynaspan-0.0.8 lib/dynaspan/engine.rb
dynaspan-0.0.7 lib/dynaspan/engine.rb
dynaspan-0.0.6 lib/dynaspan/engine.rb
dynaspan-0.0.5 lib/dynaspan/engine.rb
dynaspan-0.0.4 lib/dynaspan/engine.rb
dynaspan-0.0.3 lib/dynaspan/engine.rb
dynaspan-0.0.2 lib/dynaspan/engine.rb
dynaspan-0.0.1 lib/dynaspan/engine.rb