mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove with_layout_format
delegation
That method doesn't exist on LookupContext, so the delegate doesn't make sense.
This commit is contained in:
parent
bf9b7325f8
commit
736db1586e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue