method

apply_layout?

rails latest stable - Class: ActionController::Layout

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

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