mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 18:00:41 -07:00
Use Expression.parse and Context#evaluate in the Include class.
This commit is contained in:
@@ -12,7 +12,7 @@ module Liquid
|
||||
|
||||
class Include < Tag
|
||||
def render_with_profiling(context)
|
||||
Profiler.profile_children(@template_name) do
|
||||
Profiler.profile_children("'#{context.evaluate(@template_name)}'") do
|
||||
render_without_profiling(context)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user