diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 2d735a7..41b4757 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -2,11 +2,5 @@ class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :authenticate_user! - before_action :set_global_user - private - - def set_global_user - @user = current_user if user_signed_in? - end end