Fixed missing user lookup.
This commit is contained in:
parent
319a59f2e3
commit
de9a2a6f2a
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ class SessionsController < ApplicationController
|
|||
next if !session.data['user_id']
|
||||
sessions_clean.push session
|
||||
if session.data['user_id']
|
||||
user = User.lookup( :id => session.data['user_id'] )
|
||||
assets = user.assets( assets )
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue