Fix call to etag method

This commit is contained in:
Brandon Robins
2018-01-31 22:20:36 -06:00
parent f6f5590062
commit 19290d3832

View File

@@ -585,7 +585,7 @@ module Calligraphy
end
def getetag(prop)
cache_key = ActiveSupport::Cache.expand_cache_key [@resource.etag, '']
cache_key = ActiveSupport::Cache.expand_cache_key [etag, '']
prop.content = "W/\"#{Digest::MD5.hexdigest(cache_key)}\""
prop