lib/redis_snippets/help.rb in redis_snippets-0.0.5 vs lib/redis_snippets/help.rb in redis_snippets-0.0.6
- old
+ new
@@ -3,10 +3,10 @@
# If multi_site => true the symbol returned will have the key returned with a prefix.
# This prefix is defined in your application using the redis_snippet_site_key method.
# redis_snippet_site_key should simply return a unique string per site. For instance
# it could be the domain of the site.
def snippet_key(key)
- s = RedisSnippetsEngine.config.redis_snippets[:multi_site] ? redis_snippet_site_key + ':' : ''
+ s = RedisSnippets::Engine.config.redis_snippets[:multi_site] ? redis_snippet_site_key + ':' : ''
s << key.to_s
s.to_sym
end
end
end