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