Skip to content

Commit

Permalink
Update lib/liquid/tags/render.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Dylan Thacker-Smith <dylan.smith@shopify.com>
  • Loading branch information
Maaarcocr and dylanahsmith committed Sep 8, 2022
1 parent 753015d commit 44d93e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/liquid/tags/render.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ class Render < Tag

disable_tags "include"

attr_reader :template_name_expr, :variable_name_expr, :attributes, :alias_name, :is_for_loop
attr_reader :template_name_expr, :variable_name_expr, :attributes, :alias_name

def for_loop?
@is_for_loop
end

def initialize(tag_name, markup, options)
super
Expand Down

0 comments on commit 44d93e2

Please sign in to comment.