Sha256: 2f45f50abee8f930263f96c1705d09b3ede2568eebb9161646fdfad1045f527b

Contents?: true

Size: 312 Bytes

Versions: 6

Compression:

Stored size: 312 Bytes

Contents

module Iam
  class Engine < Rails::Engine
    initializer 'iam.assets.precompile' do |app|
      app.config.assets.precompile += %w(jquery.cookie.js iam.js iam.css)
    end

    initializer 'iam.assets.add_middleware' do |app|
      app.middleware.use Rack::Assets unless Rails.env.production?
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iam-0.3.3 lib/iam/engine.rb
iam-0.3.2 lib/iam/engine.rb
iam-0.3.1 lib/iam/engine.rb
iam-0.3.0 lib/iam/engine.rb
iam-0.2.2 lib/iam/engine.rb
iam-0.2.1 lib/iam/engine.rb