Sha256: 54223dc01d63ecf9ec36913a3fadd65e4cbbbb9c7d7f4e1a3b13da330d2d2ecf

Contents?: true

Size: 408 Bytes

Versions: 5

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

%w(app vendor).each do |folder|
  path = Kadmin::Engine.root.join(folder, 'assets', '**', '*')
  Rails.application.config.assets.paths.concat(Dir.glob(path).select { |path| File.directory?(path) })
  Rails.application.config.assets.precompile.concat(Dir.glob(path).select { |path| File.file?(path) })
end
Rails.application.config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kadmin-0.6.19 config/initializers/assets.rb
kadmin-0.6.18 config/initializers/assets.rb
kadmin-0.6.17 config/initializers/assets.rb
kadmin-0.6.16 config/initializers/assets.rb
kadmin-0.6.13 config/initializers/assets.rb