Sha256: 2724a277394d100198bd6c45643bcd4a3dee432bb4dced0bbcd9ff0aa4e48068

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

require_relative "cute_alert_rails/version"

module CuteAlertRails
  class Engine < ::Rails::Engine
    PRECOMPILE_ASSETS = Dir[root.join("app/assets/javascripts/**/*")]
    initializer 'rails_charts.assets' do |app|
      if app.config.respond_to?(:assets)
        app.config.assets.precompile += PRECOMPILE_ASSETS
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cute_alert_rails-0.1.0 lib/cute_alert_rails.rb