public Method

ClassMethods.default_layout(format)

There's no documentation for this item.

Source Code

# File action_controller/layout.rb, line 180
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.