Fix self hosted subscription redirect

This commit is contained in:
Zach Gollwitzer
2025-05-02 07:58:14 -04:00
parent be0d51057d
commit 0c79b335f1

View File

@@ -24,7 +24,7 @@ module Onboardable
if Current.user.onboarded_at.blank? && !trial_just_started
redirect_to onboarding_path
elsif !Current.family.subscribed? && !Current.family.trialing?
elsif !Current.family.subscribed? && !Current.family.trialing? && !self_hosted?
redirect_to upgrade_subscription_path
end
end