application controller edits

This commit is contained in:
relotnek
2014-03-11 20:54:38 -04:00
parent 6a4bc922bd
commit b101c286ce
+1 -1
View File
@@ -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