code-snippets 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/code-snippets.rb +1 -1
- metadata +1 -1
data/lib/code-snippets.rb
CHANGED
@@ -106,7 +106,7 @@ class CodeSnippets
|
|
106
106
|
def html_cached(context, summary, current_user='guest', &b)
|
107
107
|
c = context.join
|
108
108
|
@page_cache.read(c) do
|
109
|
-
view_html(@doc_cache.read(c){b.call}, c, summary, current_user).to_s
|
109
|
+
view_html(@doc_cache.read(c + current_user){b.call}, c, summary, current_user).to_s
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|