From b101c286ce11c65e025419870a3dfc31681c3969 Mon Sep 17 00:00:00 2001 From: relotnek Date: Tue, 11 Mar 2014 20:54:38 -0400 Subject: [PATCH] application controller edits --- 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 ce73728..02b8df5 100755 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -9,7 +9,7 @@ class ApplicationController < ActionController::Base private def current_user - @current_user ||= User.find_by_auth_token!(cookies[:auth_token].to_s) + @current_user ||= User.find_by_auth_token(cookies[:auth_token].to_s) end def authenticated