Sha256: 772099a9ff2279d3af6e625286931a40c09ddfe5af50e2ec44b8db34243ad9e3

Contents?: true

Size: 527 Bytes

Versions: 12

Compression:

Stored size: 527 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 << Dir.glob("#{Kadmin::Engine.root}/app/assets/**/*").reject { |fn| File.directory?(fn) }
Rails.application.config.assets.precompile << Dir.glob("#{Kadmin::Engine.root}/vendor/assets/**/*").reject { |fn| File.directory?(fn) }
Rails.application.config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kadmin-0.6.12 config/initializers/assets.rb
kadmin-0.6.11 config/initializers/assets.rb
kadmin-0.6.10 config/initializers/assets.rb
kadmin-0.6.9 config/initializers/assets.rb
kadmin-0.6.8 config/initializers/assets.rb
kadmin-0.6.7 config/initializers/assets.rb
kadmin-0.6.6 config/initializers/assets.rb
kadmin-0.6.5 config/initializers/assets.rb
kadmin-0.6.4 config/initializers/assets.rb
kadmin-0.6.3 config/initializers/assets.rb
kadmin-0.6.1 config/initializers/assets.rb
kadmin-0.5.7 config/initializers/assets.rb