-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show warning if
view_template
method is not defined on Phlex class (#…
…828) I just upgraded Phlex to the latest 2.x rc in a Rails app and after bumping the `phlex` and `phlex-rails` versions the app would boot, the pages would render but all components would just render out as empty strings, since none of the components defined the new `view_template` method. This pull request adds a warning to the rendered component output so that you know what's going on when you are upgrading. Feel free to close this pull request if you feel like there's not place for this in Phlex.
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters