Skip to content

Commit

Permalink
Remove block_given check when renderable is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
stephannv committed Nov 8, 2024
1 parent 94b2095 commit 1a2c901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phlex/rails/sgml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def render(*args, **kwargs, &block)
end,
)
else
return super if block_given?
return super
end
end

Expand Down

0 comments on commit 1a2c901

Please sign in to comment.