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