Sha256: 22b00c88094db162a9334681fbc953fb262c933891d36bb6817e30886d8b3bf7

Contents?: true

Size: 396 Bytes

Versions: 25

Compression:

Stored size: 396 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 { |p| File.directory?(p) })
  Rails.application.config.assets.precompile.concat(Dir.glob(path).select { |p| File.file?(p) })
end
Rails.application.config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
kadmin-1.3.0 config/initializers/assets.rb
kadmin-1.2.1 config/initializers/assets.rb
kadmin-1.2.0 config/initializers/assets.rb
kadmin-1.1.1 config/initializers/assets.rb
kadmin-1.1.0 config/initializers/assets.rb
kadmin-1.0.9 config/initializers/assets.rb
kadmin-1.0.8 config/initializers/assets.rb
kadmin-1.0.7 config/initializers/assets.rb
kadmin-1.0.6 config/initializers/assets.rb
kadmin-1.0.5 config/initializers/assets.rb
kadmin-1.0.4 config/initializers/assets.rb
kadmin-1.0.3 config/initializers/assets.rb
kadmin-1.0.2 config/initializers/assets.rb
kadmin-1.0.1 config/initializers/assets.rb
kadmin-1.0.0 config/initializers/assets.rb
kadmin-0.9.5 config/initializers/assets.rb
kadmin-0.9.4 config/initializers/assets.rb
kadmin-0.8.0 config/initializers/assets.rb
kadmin-0.7.5 config/initializers/assets.rb
kadmin-0.7.4 config/initializers/assets.rb