New bank addition (mostly hashing out STI bits)

Messy and gross. Will get cleaned up in the next couple of commits.
This commit is contained in:
Josh Pigford
2024-02-02 10:39:16 -06:00
parent 9014c8e615
commit 3bf7b47040
8 changed files with 86 additions and 2 deletions

View File

@@ -13,6 +13,11 @@ class ApplicationController < ActionController::Base
end
helper_method :current_user
def current_family
current_user.family
end
helper_method :current_family
def authenticate_user_from_session
User.find_by(id: session[:user_id])
end