Sha256: 840c19c7965d46ef2b58b360866d69acb529a7fd8a72b7e91932bf7c7ef086c9

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

require 'commontator'
require 'sprockets/railtie'

class Commontator::Engine < ::Rails::Engine
  isolate_namespace Commontator

  # Files in installed gems don't change during development,
  # but still cause issues in Rails 7 if autoloaded in an initializer
  # To fix this, make sure they are autoloaded only once
  config.autoload_once_paths = config.autoload_paths + config.eager_load_paths

  config.assets.precompile += [ 'commontator/*.png' ]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commontator-7.0.1 lib/commontator/engine.rb
commontator-7.0.0 lib/commontator/engine.rb