method

default_layout

rails latest stable - Class: ActionController::Layout

Method deprecated or moved

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

default_layout(#:nodoc:)
private

No documentation available.

# File actionpack/lib/action_controller/layout.rb, line 220
      def default_layout #:nodoc:
        layout = self.class.read_inheritable_attribute(:layout)
        return layout unless self.class.read_inheritable_attribute(:auto_layout)
        find_layout(layout, default_template_format)
      rescue ActionView::MissingTemplate
        nil
      end