Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced TemplateFinder abstraction with ViewLoadPaths
- Loading branch information
Showing
19 changed files
with
494 additions
and
352 deletions.
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
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
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
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
Oops, something went wrong.
bec4b69
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a pretty significant change. Is there going to be any documentation explaining the differences this change brings about and what its added benefits are? I’ve dug through the code to get a decent handle on it, but not enough to explain it to others :)
The reason I ask is because I know several plugins use alias_method_chain to hook into TemplateFinder and I think a high level description could help those project maintainers more quickly bring their codebase up to speed with these changes.
bec4b69
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no change to any of the documented methods. None of the public API was changed.
However, if you are monkey patching deep into TemplateFinder, your going need to make some changes.
If this is what you were doing, I would highly suggest you raise a thread in the mailing list to get an “official” api for what you are trying to do so we don’t break it in the future.