From 202bf37328dda26785c15d6b7b8af4dfae6170b7 Mon Sep 17 00:00:00 2001 From: Jan Grodowski Date: Tue, 15 Nov 2022 09:17:34 +0100 Subject: [PATCH 1/2] untested --- app/controllers/application_controller.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index cf9a83b..15eb4a2 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -2,6 +2,9 @@ class ApplicationController < ActionController::Base private def check_current_user + if current_user == "foo" + puts "untested" + end redirect_to root_url if current_user.nil? end end From 0e35e69f8d9b90d85702ba90e3d32123aa821d6b Mon Sep 17 00:00:00 2001 From: Jan Grodowski Date: Tue, 15 Nov 2022 09:23:01 +0100 Subject: [PATCH 2/2] trigger build --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 15eb4a2..475fcfb 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base def check_current_user if current_user == "foo" - puts "untested" + puts "untested messagex" end redirect_to root_url if current_user.nil? end