Skip to content

Commit

Permalink
Prepend sass/ to key
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Dec 21, 2011
1 parent 7039abd commit da6bdd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sprockets/sass_cache_store.rb
Expand Up @@ -9,11 +9,11 @@ def initialize(environment)
end

def _store(key, version, sha, contents)
environment.cache_set(key, {:version => version, :sha => sha, :contents => contents})
environment.cache_set("sass/#{key}", {:version => version, :sha => sha, :contents => contents})
end

def _retrieve(key, version, sha)
if obj = environment.cache_get(key)
if obj = environment.cache_get("sass/#{key}")
return unless obj[:version] == version
return unless obj[:sha] == sha
obj[:obj]
Expand Down

0 comments on commit da6bdd3

Please sign in to comment.