mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 03:24:09 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user