mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
render_to_output_buffer
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user