mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue