method

_process_variant

Importance_0
v7.1.3.2 - 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 168
      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.