use Cache.hash instead of Cache.sanitize

This commit is contained in:
r888888888
2017-08-24 15:43:38 -07:00
parent 18f617e08a
commit b769b83262
6 changed files with 10 additions and 10 deletions

View File

@@ -1183,7 +1183,7 @@ class Post < ApplicationRecord
tags = "#{tags} -status:deleted".strip
end
"pfc:#{Cache.sanitize(tags)}"
"pfc:#{Cache.hash(tags)}"
end
def fast_count(tags = "", options = {})