Flowdock
method

candidate_for_layout?

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::Layout
candidate_for_layout?(options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.