aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2019-01-28 15:09:13 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2019-01-28 15:09:13 -0800
commit736db1586e559bfa104d8486558cd8108b26d166 (patch)
tree827f1ab5fe2b22b2657afd76a4da4c88ff353d08
parentbf9b7325f8814a4d90267e59697e5125f40a69c3 (diff)
downloadrails-736db1586e559bfa104d8486558cd8108b26d166.tar.gz
rails-736db1586e559bfa104d8486558cd8108b26d166.tar.bz2
rails-736db1586e559bfa104d8486558cd8108b26d166.zip
Remove `with_layout_format` delegation
That method doesn't exist on LookupContext, so the delegate doesn't make sense.
-rw-r--r--actionview/lib/action_view/renderer/abstract_renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/renderer/abstract_renderer.rb b/actionview/lib/action_view/renderer/abstract_renderer.rb
index c2a88868a8..ae366ce54a 100644
--- a/actionview/lib/action_view/renderer/abstract_renderer.rb
+++ b/actionview/lib/action_view/renderer/abstract_renderer.rb
@@ -17,7 +17,7 @@ module ActionView
# that new object is called in turn. This abstracts the setup and rendering
# into a separate classes for partials and templates.
class AbstractRenderer #:nodoc:
- delegate :template_exists?, :any_templates?, :with_layout_format, :formats, to: :@lookup_context
+ delegate :template_exists?, :any_templates?, :formats, to: :@lookup_context
def initialize(lookup_context)
@lookup_context = lookup_context