Commit db1e309a authored by Kerri Miller's avatar Kerri Miller

Explicitly call #cache_key on diffable

parent 9b108752
......@@ -80,7 +80,7 @@ module Gitlab
end
def key
@redis_key ||= ['highlighted-diff-files', diffable, VERSION, diff_options].join(":")
@redis_key ||= ['highlighted-diff-files', diffable.cache_key, VERSION, diff_options].join(":")
end
private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment