Sha256: 5b3115f2addd88f8ccd381092d66b6aaa2160e32c984da2e23b473f86da01aa7
Contents?: true
Size: 361 Bytes
Versions: 23
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true module Proscenium module Helper def compute_asset_path(path, options = {}) if %i[javascript stylesheet].include?(options[:type]) result = "/#{path}" if (qs = Proscenium.config.cache_query_string) result << "?#{qs}" end return result end super end end end
Version data entries
23 entries across 23 versions & 1 rubygems