Sha256: b1fa173fab7a538170d50e3400402618dd321f19b0a01e6a29d74f642cb79eb2

Contents?: true

Size: 414 Bytes

Versions: 10

Compression:

Stored size: 414 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

10 entries across 10 versions & 1 rubygems

Version Path
kadmin-0.3.1 config/initializers/assets.rb
kadmin-0.3.0 config/initializers/assets.rb
kadmin-0.2.8 config/initializers/assets.rb
kadmin-0.2.7 config/initializers/assets.rb
kadmin-0.2.6 config/initializers/assets.rb
kadmin-0.2.3 config/initializers/assets.rb
kadmin-0.2.2 config/initializers/assets.rb
kadmin-0.1.7 config/initializers/assets.rb
kadmin-0.1.6 config/initializers/assets.rb
kadmin-0.1.4 config/initializers/assets.rb