rubymonolith/superform

`def template` will be deprecated in Phlex 2.0

Closed this issue · 3 comments

I just upgraded to Phlex 1.10 and my specs and features are spewing this deprecation message:

⚠️ [DEPRECATION] Defining the template method on a Phlex component will not be supported in Phlex 2.0. Please rename the method to view_template instead.

I will create a pull request that resolves this. (Please bear with me. It will be my first.)

@bradgessler is there anything holding this PR (or rather the 'fix' of def template => def view_template) back?

asking 'cause my OCD keeps my eyes bleeding 🤣

Waiting for Phlex 2.x to leave beta, then I'll cut everything over to view_template.

This change was shipped in 7795d1c