method

candidate_for_layout?

candidate_for_layout?(options)
private

No documentation available.

# File actionpack/lib/action_controller/layout.rb, line 239
      def candidate_for_layout?(options)
        options.values_at(:text, :xml, :json, :file, :inline, :partial, :nothing, :update).compact.empty? &&
          !@template.__send__(:_exempt_from_layout?, options[:template] || default_template_name(options[:action]))
      end