mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
We dont need to include the name and the format in the digest -- source is authoritative enough
This commit is contained in:
parent
27acd1e0d2
commit
a497bed113
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module ActionView
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue