Removed not needed reset of assets.
This commit is contained in:
parent
8fd321e6b8
commit
0b76a38fe3
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ module ExtraCollection
|
|||
def session( collections, assets, user )
|
||||
|
||||
# all base stuff
|
||||
assets = {}
|
||||
collections[ Taskbar.to_app_model ] = Taskbar.where( :user_id => user.id )
|
||||
collections[ Taskbar.to_app_model ].each {|item|
|
||||
assets = item.assets(assets)
|
||||
|
@ -41,4 +40,4 @@ module ExtraCollection
|
|||
[collections, assets]
|
||||
end
|
||||
module_function :session
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue