Flowdock
method

default_layout

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActionController::Layout::ClassMethods

Method deprecated or moved

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

default_layout(format) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/layout.rb, line 175
      def default_layout(format) #:nodoc:
        layout = read_inheritable_attribute(:layout)
        return layout unless read_inheritable_attribute(:auto_layout)
        @default_layout ||= {}
        @default_layout[format] ||= default_layout_with_format(format, layout)
        @default_layout[format]
      end
Register or log in to add new notes.