Prevent multiple rendering.

This commit is contained in:
Martin Edenhofer 2016-09-11 16:02:15 +02:00
parent 043c9731a5
commit 19cb76bb12
2 changed files with 2 additions and 0 deletions

View file

@ -280,6 +280,7 @@ curl http://localhost/api/v1/organization/{id} -v -u #{login}:#{password} -H "Co
assets: assets, assets: assets,
organization_ids: organization_ids.uniq, organization_ids: organization_ids.uniq,
} }
return
end end
list = [] list = []

View file

@ -390,6 +390,7 @@ class UsersController < ApplicationController
assets: assets, assets: assets,
user_ids: user_ids.uniq, user_ids: user_ids.uniq,
} }
return
end end
list = [] list = []