mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Remove unnecessary comment, add joost's change to History.md
This commit is contained in:
@@ -51,7 +51,7 @@ module Liquid
|
||||
context[key] = context[value]
|
||||
end
|
||||
|
||||
context_variable_name = @template_name[1..-2].split('/').last # for a snippet in a subdir only use the filename
|
||||
context_variable_name = @template_name[1..-2].split('/').last
|
||||
if variable.is_a?(Array)
|
||||
variable.collect do |var|
|
||||
context[context_variable_name] = var
|
||||
|
||||
Reference in New Issue
Block a user