projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 2525-java-sdk
[arvados.git]
/
services
/
api
/
app
/
controllers
/
arvados
/
v1
/
users_controller.rb
diff --git
a/services/api/app/controllers/arvados/v1/users_controller.rb
b/services/api/app/controllers/arvados/v1/users_controller.rb
index 08368cb5ef110d6181dcdd0f4f696adacba48eee..c2a32f02f1b7e0e68bd8da293e34a0269308b4c0 100644
(file)
--- a/
services/api/app/controllers/arvados/v1/users_controller.rb
+++ b/
services/api/app/controllers/arvados/v1/users_controller.rb
@@
-74,7
+74,7
@@
class Arvados::V1::UsersController < ApplicationController
head_uuid: required_uuids).
collect(&:head_uuid)
todo_uuids = required_uuids - signed_uuids
head_uuid: required_uuids).
collect(&:head_uuid)
todo_uuids = required_uuids - signed_uuids
- if todo_uuids
== []
+ if todo_uuids
.empty?
@object.update_attributes is_active: true
logger.info "User #{@object.uuid} activated"
else
@object.update_attributes is_active: true
logger.info "User #{@object.uuid} activated"
else
@@
-147,10
+147,10
@@
class Arvados::V1::UsersController < ApplicationController
protected
protected
- def self._setup_requires_parameters
+ def self._setup_requires_parameters
{
send_notification_email: { type: 'boolean', required: true },
{
send_notification_email: { type: 'boolean', required: true },
- }
+ }
end
end
end
end