i-var group together

This commit is contained in:
Matt Jankowski 2025-08-27 14:21:16 -04:00
parent 0d5a72aef5
commit a2241da91a

View File

@ -133,9 +133,9 @@ class Auth::RegistrationsController < Devise::RegistrationsController
return if @rules.empty? || validated_accept_token? return if @rules.empty? || validated_accept_token?
@accept_token = session[:accept_token] = SecureRandom.hex @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) } @rule_translations = @rules.map { |rule| rule.translation_for(I18n.locale) }
render :rules render :rules
end end