Skip to content

Commit

Permalink
Add Method class to overrides (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgessler authored Mar 16, 2024
1 parent 6f668f8 commit eb7601d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phlex/rails/sgml/overrides.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def render(*args, **kwargs, &block)
renderable = args[0]

case renderable
when Phlex::SGML, Proc
when Phlex::SGML, Proc, Method
return super
when Class
return super if renderable < Phlex::SGML
Expand Down

0 comments on commit eb7601d

Please sign in to comment.