diff options
-rw-r--r-- | lib/repository_cache.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/repository_cache.rb b/lib/repository_cache.rb index 0d52f50be91..fa016a170cd 100644 --- a/lib/repository_cache.rb +++ b/lib/repository_cache.rb @@ -1,6 +1,6 @@ # Interface to the Redis-backed cache store used by the Repository model class RepositoryCache - attr_reader :namespace + attr_reader :namespace, :backend def initialize(namespace, backend = Rails.cache) @namespace = namespace @@ -18,8 +18,4 @@ class RepositoryCache def fetch(key, &block) backend.fetch(cache_key(key), &block) end - - private - - attr_reader :backend end |