Pass through options on assign tag

This commit is contained in:
Tristan Hume
2014-08-11 10:38:36 -04:00
parent 2d98392bf5
commit 2809ec780a
+1 -1
View File
@@ -15,7 +15,7 @@ module Liquid
super super
if markup =~ Syntax if markup =~ Syntax
@to = $1 @to = $1
@from = Variable.new($2) @from = Variable.new($2,options)
else else
raise SyntaxError.new options[:locale].t("errors.syntax.assign".freeze) raise SyntaxError.new options[:locale].t("errors.syntax.assign".freeze)
end end