Sha256: a30ceee4f9c67fef08f4ca67a2d96ae9130180e2bb907b02652c50487d50d40c
Contents?: true
Size: 363 Bytes
Versions: 4
Compression:
Stored size: 363 Bytes
Contents
# frozen_string_literal: true module RailsDevtools module AssetProviders class SprocketConfig def provider :sprockets end def paths Rails.application.config.assets.paths.select { |p| p.to_s.end_with?("images") } end def used? Rails.application.config.respond_to?(:assets) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems