Sha256: 39aecccd88781367e5d0a0deb3dc1e4e1c84f66d1fa250250c8980382b0d6675
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
# Load engine assets # While loading images by extensions seem to work, loading JS and (S)CSS by extension seems # to cause issues, although loading them by filename is fine. Go figure. Rails.application.config.assets.precompile += %w(select2.css select2-bootstrap.css select2.js) Rails.application.config.assets.precompile += Dir.glob("#{Kadmin::Engine.root}/app/assets/**/*").reject { |fn| File.directory?(fn) }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kadmin-0.3.2 | config/initializers/assets.rb |