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
@@ -15,7 +15,7 @@ class SessionsController < ApplicationController
end
if user
session[:id] = user.id if User.where(:id => user.id).exists?
session[:user_id] = user.user_id if User.where(:user_id => user.user_id).exists?
redirect_to home_dashboard_index_path
else
# Removed this code, just doesn't seem specific enough!