method

_process_variant

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActionController::Rendering
_process_variant(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/metal/rendering.rb, line 57
      def _process_variant(options)
        if defined?(request) && !request.nil? && request.variant.present?
          options[:variant] = request.variant
        end
      end
Register or log in to add new notes.