From 2183fa9186d3b4c5712211d826b3f9b127a7a4c6 Mon Sep 17 00:00:00 2001 From: Parziphal Date: Sun, 3 Nov 2013 11:11:29 -0500 Subject: [PATCH] fixed Tag::update_cache() --- app/models/Tag/CacheMethods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/Tag/CacheMethods.php b/app/models/Tag/CacheMethods.php index 90b10cc..6abddbe 100755 --- a/app/models/Tag/CacheMethods.php +++ b/app/models/Tag/CacheMethods.php @@ -9,7 +9,7 @@ trait CacheMethods protected function update_cache() { # iTODO: hash keys - Rails::cache()->write('tag_type_' . $this->name, self::type_name_from_value($this->tag_type)); + Rails::cache()->write('tag_type.' . $this->name, self::type_name_from_value($this->tag_type)); # Expire the tag cache if a tag's type changes. if ($this->tag_type != $this->tagTypeWas()) {