mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 03:10:39 -07:00
Implicit variable scoping
This commit is contained in:
@@ -24,7 +24,7 @@ class Paginate < Liquid::Block
|
||||
def render(context)
|
||||
@context = context
|
||||
|
||||
context.stack do
|
||||
context.stack('paginate') do
|
||||
current_page = context['current_page'].to_i
|
||||
|
||||
pagination = {
|
||||
|
||||
Reference in New Issue
Block a user