This commit is contained in:
Josh Pigford
2024-02-02 10:39:17 -06:00
11 changed files with 14 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ class ApplicationController < ActionController::Base
def authenticate_user_from_session
User.find_by(id: session[:user_id])
end
end
def user_signed_in?
current_user.present?