mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
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:
parent
9014c8e615
commit
3bf7b47040
8 changed files with 86 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue