method

candidate_for_layout?

candidate_for_layout?(options)
private

No documentation available.

# File actionpack/lib/action_controller/layout.rb, line 270
      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