method
apply_layout?
v2.1.0 -
Show latest stable
- Class:
ActionController::Layout
apply_layout?(template_with_options, options)private
No documentation available.
# File actionpack/lib/action_controller/layout.rb, line 265
def apply_layout?(template_with_options, options)
return false if options == :update
template_with_options ? candidate_for_layout?(options) : !template_exempt_from_layout?
end