assigned a user id, does not "appear" to have screwed anything up

This commit is contained in:
Ken Johnson
2013-05-24 15:25:06 -04:00
parent 383835d57d
commit 0d841124f5
13 changed files with 31 additions and 17 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class ApplicationController < ActionController::Base
private
def current_user
@current_user ||= User.find_by_id(session[:id].to_s)
@current_user ||= User.find_by_user_id(session[:user_id].to_s)
end
def authenticated