From 0882832266ab05778827919de3ed7ca63981baa0 Mon Sep 17 00:00:00 2001 From: David Yao Date: Fri, 24 Oct 2014 15:31:36 -0400 Subject: [PATCH] Fixed situation when current user is nil --- 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 b6ceeb37c..f1c82b159 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -35,7 +35,7 @@ def using_CAS? end def user_for_paper_trail - current_user.name + current_user.name if current_user end protected