No collection push of organization needed anymore.

This commit is contained in:
Martin Edenhofer 2016-05-17 07:42:46 +02:00
parent 15a9145a21
commit ea82574877

View file

@ -1,19 +0,0 @@
class Sessions::Backend::Collections::Organization < Sessions::Backend::Collections::Base
model_set 'Organization'
def load
# get whole collection
all = []
if @user.organization_id
organization = Organization.lookup(id: @user.organization_id)
if organization
all = [organization]
end
end
all
end
end