From a2241da91afaf92d9942d00441c616b29275550c Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 27 Aug 2025 14:21:16 -0400 Subject: [PATCH] i-var group together --- app/controllers/auth/registrations_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb index 6390773b4b7..c6c96b9acdf 100644 --- a/app/controllers/auth/registrations_controller.rb +++ b/app/controllers/auth/registrations_controller.rb @@ -133,9 +133,9 @@ class Auth::RegistrationsController < Devise::RegistrationsController return if @rules.empty? || validated_accept_token? @accept_token = session[:accept_token] = SecureRandom.hex - @invite_code = invite_code - + @invite_code = invite_code @rule_translations = @rules.map { |rule| rule.translation_for(I18n.locale) } + render :rules end