# File lib/action_view/helpers/rendering_helper.rb, line 79
      def _layout_for(*args, &block)
        name = args.first

        if block && !name.is_a?(Symbol)
          capture(*args, &block)
        else
          super
        end
      end