Account.sole → Current.account

and some other de-tenant changes, including removing the controller
tenanting concerns
This commit is contained in:
Mike Dalessio
2025-11-10 07:58:40 -05:00
parent 6705b5225f
commit d41d50d52b
40 changed files with 67 additions and 96 deletions
+1 -2
View File
@@ -27,9 +27,8 @@ def create_tenant(signal_account_name)
membership: membership
}
)
Current.account = account
end
ApplicationRecord.current_tenant = tenant_id
end
def find_or_create_user(full_name, email_address)