mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
parent
f2739b79fb
commit
455257bf51
3 changed files with 5 additions and 4 deletions
|
@ -19,6 +19,6 @@ class OnboardingsController < ApplicationController
|
|||
end
|
||||
|
||||
def load_invitation
|
||||
@invitation = Invitation.accepted.most_recent_for_email(Current.user.email)
|
||||
@invitation = Current.family.invitations.accepted.find_by(email: Current.user.email)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue