module ActionView::Helpers::CacheHelper
def digest_path_from_template(template) # :nodoc:
def digest_path_from_template(template) # :nodoc: digest = Digestor.digest(name: template.virtual_path, format: template.format, finder: lookup_context, dependencies: view_cache_dependencies) if digest.present? "#{template.virtual_path}:#{digest}" else template.virtual_path end end