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

View File

@@ -15,7 +15,7 @@ module Liquid
super
if markup =~ Syntax
@to = $1
@from = Variable.new($2)
@from = Variable.new($2,options)
else
raise SyntaxError.new options[:locale].t("errors.syntax.assign".freeze)
end