method

_exempt_from_layout?

rails latest stable - Class: ActionView::Base

Method deprecated or moved

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

_exempt_from_layout?(template_path)
private

No documentation available.

# File actionpack/lib/action_view/base.rb, line 341
      def _exempt_from_layout?(template_path) #:nodoc:
        template = _pick_template(template_path).to_s
        @@exempt_from_layout.any? { |ext| template =~ ext }
      rescue ActionView::MissingTemplate
        return false
      end