mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 03:10:39 -07:00
Change registers to by symbols (#1178)
This commit is contained in:
@@ -170,7 +170,7 @@ module Liquid
|
||||
|
||||
def disable_tags(context, tags, &block)
|
||||
return yield if tags.empty?
|
||||
context.registers['disabled_tags'].disable(tags, &block)
|
||||
context.registers[:disabled_tags].disable(tags, &block)
|
||||
end
|
||||
|
||||
def raise_if_resource_limits_reached(context, length)
|
||||
|
||||
Reference in New Issue
Block a user