lib/turbo-sprockets/asset_resolver.rb
def resolve_naked(logical_path)
        # check to see if logical_path exists within any of the current asset paths
        Rails.application.config.assets.paths.each do |path|
          candidate = File.join(path, logical_path)
          return candidate if File.exist?(candidate)
        end
      end
# Returns an absolute, undigested asset path for the given logical path.
# This is the original asset path from app/assets or similar.
#
# For example:
#   AssetResolver.resolve_naked('lux/checkmark_2x.png')
#     => /data/lumoslabs/shared/bundle/ruby/2.4.0/gems/lux-2.11.0/app/assets/images/lux/checkmark_2x.png
#
Returns an absolute, undigested asset path for the given logical path.
This is the original asset path from app/assets or similar.


Returns an absolute undigested asset path for the given logical path . This is the original asset path from app / assets or similar .
def resolve_naked(logical_path)
        Rails.application.config.assets.paths.each do |path|
          candidate = File.join(path, logical_path)
          return candidate if File.exist?(candidate)
        end
      end
def resolve_naked ( logical_path ) Rails . application . config . assets . paths . each do | path | candidate = File . join ( path , logical_path ) return candidate if File . exist? ( candidate ) end end
Returns an absolute, undigested asset path for the given logical path.
Returns an absolute undigested asset path for the given logical path .
# check to see if logical_path exists within any of the current asset paths
logical_path