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

25 lines
381 B
Ruby
Raw Normal View History

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 = Invitation.accepted.most_recent_for_email(Current.user.email)
end
end