W3cubDocs

/Ruby on Rails 7.0

module ActionController::Rendering::ClassMethods

Attributes

renderer[R]

Returns a renderer instance (inherited from ActionController::Renderer) for the controller.

Public Instance Methods

inherited(klass) Show source
# File actionpack/lib/action_controller/metal/rendering.rb, line 21
def inherited(klass)
  klass.setup_renderer!
  super
end
Calls superclass method

© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.