Flowdock
method

default_layout

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Layout::ClassMethods
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.