mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Released gem 2.1.3
This commit is contained in:
committed by
Tobias Lütke
parent
13f98de7f3
commit
6831eac902
@@ -23,11 +23,11 @@ module Liquid
|
||||
end
|
||||
|
||||
def render(context)
|
||||
context.scopes.last[@to.to_s] = context[@from]
|
||||
context.scopes.last[@to] = context[@from]
|
||||
''
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Template.register_tag('assign', Assign)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -26,7 +26,7 @@ module Liquid
|
||||
|
||||
def render(context)
|
||||
output = super
|
||||
context.scopes.last[@to.to_s] = output.join
|
||||
context.scopes.last[@to] = output.join
|
||||
''
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user