Permalink
Browse files

We dont need to include the name and the format in the digest -- sour…

…ce is authoritative enough
  • Loading branch information...
1 parent 27acd1e commit a497bed1130427b3bcf717c29ca3b6edf07a5c04 @dhh dhh committed Sep 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/digestor.rb
@@ -35,7 +35,7 @@ def initialize(name, format, finder, options = {})
end
def digest
- Digest::MD5.hexdigest("#{name}.#{format}-#{source}-#{dependency_digest}").tap do |digest|
+ Digest::MD5.hexdigest("#{source}-#{dependency_digest}").tap do |digest|
logger.try :info, "Cache digest for #{name}.#{format}: #{digest}"
end
rescue ActionView::MissingTemplate

0 comments on commit a497bed

Please sign in to comment.