Fix call to etag method
This commit is contained in:
@@ -585,7 +585,7 @@ module Calligraphy
|
|||||||
end
|
end
|
||||||
|
|
||||||
def getetag(prop)
|
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.content = "W/\"#{Digest::MD5.hexdigest(cache_key)}\""
|
||||||
prop
|
prop
|
||||||
|
|||||||
Reference in New Issue
Block a user