summaryrefslogtreecommitdiff
path: root/lib/banzai.rb
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-07-05 17:21:13 +0200
committerPaco Guzman <pacoguzmanp@gmail.com>2016-07-12 14:35:29 +0200
commit3d2c540db6bb33f1a7be6c1ba375d4f604544862 (patch)
tree5c293bc8889ac8c5cb8fc8a0e49934d72f0c60a2 /lib/banzai.rb
parent3ca9253444710c6a2d5ad4dca345f8d558be4f1a (diff)
downloadgitlab-ce-3d2c540db6bb33f1a7be6c1ba375d4f604544862.tar.gz
Object renderer read_multi rendered entries from Cacheread-multi-rendered-objects
Diffstat (limited to 'lib/banzai.rb')
-rw-r--r--lib/banzai.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/banzai.rb b/lib/banzai.rb
index 093382261ae..9ebe379f454 100644
--- a/lib/banzai.rb
+++ b/lib/banzai.rb
@@ -3,6 +3,10 @@ module Banzai
Renderer.render(text, context)
end
+ def self.cache_collection_render(texts_and_contexts)
+ Renderer.cache_collection_render(texts_and_contexts)
+ end
+
def self.render_result(text, context = {})
Renderer.render_result(text, context)
end