mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-20 13:49:39 +02:00
Fix self hosted subscription redirect
This commit is contained in:
parent
be0d51057d
commit
0c79b335f1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module Onboardable
|
||||||
|
|
||||||
if Current.user.onboarded_at.blank? && !trial_just_started
|
if Current.user.onboarded_at.blank? && !trial_just_started
|
||||||
redirect_to onboarding_path
|
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
|
redirect_to upgrade_subscription_path
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue