method
inherited
v1.0.0 -
Show latest stable
- Class:
ActionController::Layout::ClassMethods
inherited(child)private
No documentation available.
# File actionpack/lib/action_controller/layout.rb, line 175
def inherited(child)
inherited_without_layout(child)
child.layout(child.controller_name) unless layout_list.grep(/^#{child.controller_name}\.r(?:x|ht)ml$/).empty?
end