mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 09:20:42 -07:00
Resolve disbale tag tests
This commit is contained in:
+2
-2
@@ -39,11 +39,11 @@ module Liquid
|
||||
end
|
||||
|
||||
def disabled?(context)
|
||||
context.registers['disabled_tags']&.disabled?(tag_name)
|
||||
context.registers['disabled_tags']&.disabled?(tag_name)
|
||||
end
|
||||
|
||||
def disabled_response
|
||||
"#{tag_name} #{options[:locale].t("errors.disabled.tag")}"
|
||||
"#{tag_name} #{options[:locale].t('errors.disabled.tag')}"
|
||||
end
|
||||
|
||||
# For backwards compatibility with custom tags. In a future release, the semantics
|
||||
|
||||
Reference in New Issue
Block a user