render_to_output_buffer

This commit is contained in:
Florian Weingarten
2019-04-23 17:06:29 -04:00
parent 2a1ca3152d
commit 9640e77805
30 changed files with 184 additions and 88 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class CommentForm < Liquid::Block
end
end
def render(context, output = '')
def render_to_output_buffer(context, output)
article = context[@variable_name]
context.stack do
+1 -1
View File
@@ -21,7 +21,7 @@ class Paginate < Liquid::Block
end
end
def render(context, output = '')
def render_to_output_buffer(context, output)
@context = context
context.stack do