diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2019-01-28 14:12:08 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2019-01-28 14:12:08 -0800 |
commit | bd3bea1598919e177ca6e56d23ae2fc9d8d5e22e (patch) | |
tree | 77a85b1507ae55e712d0d32062c86185d509c5ef /actionview/Rakefile | |
parent | 4ceaf55aea720036356f9e71540449924eef958d (diff) | |
download | rails-bd3bea1598919e177ca6e56d23ae2fc9d8d5e22e.tar.gz rails-bd3bea1598919e177ca6e56d23ae2fc9d8d5e22e.tar.bz2 rails-bd3bea1598919e177ca6e56d23ae2fc9d8d5e22e.zip |
Remove `find_template` and `find_file` delegate methods
This reduces the surface area of our API and removes a Liskov issue.
Both TemplateRenderer and PartialRenderer inherit from AbstractRenderer,
but since PartialRenderer implements it's own `find_template` that is
private, and has the wrong method signature, an instance of
PartialRenderer cannot be substituted for an instance of
AbstractRenderer renderer. Removing the superclass implementation
solves both issues.
Diffstat (limited to 'actionview/Rakefile')
0 files changed, 0 insertions, 0 deletions