I would remove setting variant inside action (line 168, above) and passing it through params hash here and just set it above `get` by simply `request.variant = :phone`.