1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 13:19:39 +02:00
Maybe/app/controllers/onboardings_controller.rb

24 lines
367 B
Ruby
Raw Normal View History

class OnboardingsController < ApplicationController
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