Removed not needed reset of assets.

This commit is contained in:
Martin Edenhofer 2014-11-06 22:46:41 +01:00
parent 8fd321e6b8
commit 0b76a38fe3

View file

@ -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