Flowdock
method

digest_path_from_template

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::CacheHelper
digest_path_from_template(template) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/cache_helper.rb, line 219
      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
Register or log in to add new notes.