There's no documentation for this item.
Source Code
# File action_controller/layout.rb, line 281 def candidate_for_layout?(options) (options.has_key?(:layout) && options[:layout] != false) || options.values_at(:text, :xml, :json, :file, :inline, :partial, :nothing).compact.empty? && !template_exempt_from_layout?(options[:template] || default_template_name(options[:action])) end
<code/>and<pre/>for code samples.