1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00
Maybe/app/controllers/onboardings_controller.rb
Zach Gollwitzer 441f436187
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled
Onboarding redirect tests and trial status bar (#2197)
* Onboarding redirect tests and trial status bar

* use helper method

* Fix time tolerance failure

* Update post-onboarding message to be generic

* Disable turbo frames on Trial start button

* Update flash notice in test
2025-05-02 15:21:46 -04:00

24 lines
383 B
Ruby

class OnboardingsController < ApplicationController
layout "wizard"
before_action :set_user
before_action :load_invitation
def show
end
def preferences
end
def trial
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