method

inherited

rails latest stable - Class: ActionController::Layout::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

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