diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2019-01-28 14:03:40 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2019-01-28 14:03:40 -0800 |
commit | 4ceaf55aea720036356f9e71540449924eef958d (patch) | |
tree | ff2e97db66e3abf7684ae48447e92997ec27cfa0 /actionview/lib/action_view/renderer/abstract_renderer.rb | |
parent | 8f8d8b3c19b88d3f51f83872328847f45fc78de4 (diff) | |
download | rails-4ceaf55aea720036356f9e71540449924eef958d.tar.gz rails-4ceaf55aea720036356f9e71540449924eef958d.tar.bz2 rails-4ceaf55aea720036356f9e71540449924eef958d.zip |
Deprecate `with_fallbacks` using a block
This patch changes `with_fallbacks` to be a factory method that returns
a new instance of a lookup context which contains the fallback view
paths in addition to the controller specific view paths. Since the
lookup context is more "read only", we may be able to cache them
Diffstat (limited to 'actionview/lib/action_view/renderer/abstract_renderer.rb')
0 files changed, 0 insertions, 0 deletions