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()) {