From 0b76a38fe3a41322a365f747b336f4784ebc63aa Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 6 Nov 2014 22:46:41 +0100 Subject: [PATCH] Removed not needed reset of assets. --- app/controllers/sessions/collection_base.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/sessions/collection_base.rb b/app/controllers/sessions/collection_base.rb index b86756a83..11e8012cd 100644 --- a/app/controllers/sessions/collection_base.rb +++ b/app/controllers/sessions/collection_base.rb @@ -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 \ No newline at end of file