Remove unnecessary comment, add joost's change to History.md

This commit is contained in:
Florian Weingarten
2013-11-25 10:52:46 -05:00
parent f5620d4670
commit 4647e6d86b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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