mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 22:29:38 +02:00
24 lines
390 B
Ruby
24 lines
390 B
Ruby
class OnboardingsController < ApplicationController
|
|
layout "application"
|
|
before_action :set_user
|
|
before_action :load_invitation
|
|
|
|
def show
|
|
end
|
|
|
|
def profile
|
|
end
|
|
|
|
def preferences
|
|
end
|
|
|
|
private
|
|
|
|
def set_user
|
|
@user = Current.user
|
|
end
|
|
|
|
def load_invitation
|
|
@invitation = Current.family.invitations.accepted.find_by(email: Current.user.email)
|
|
end
|
|
end
|