There's no documentation for this item.
Source Code
# File action_controller/layout.rb, line 302 def action_has_layout? if conditions = self.class.layout_conditions case when only = conditions[:only] only.include?(action_name) when except = conditions[:except] !except.include?(action_name) else true end else true end end
<code/>and<pre/>for code samples.