mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-22 22:59:39 +02:00
* Initial pass at household invites * Invitee setup * Clean up add member form * Lint and other tweaks * Security cleanup * Lint * i18n fixes * More i18n cleanup * Show pending invites * Don't use turbo on the form * Improved email design * Basic tests * Lint * Update onboardings_controller.rb * Registration + invite cleanup * Lint * Update brakeman.ignore * Update brakeman.ignore * Self host invite links * Test tweaks * Address missing param error
24 lines
381 B
Ruby
24 lines
381 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 = Invitation.accepted.most_recent_for_email(Current.user.email)
|
|
end
|
|
end
|