From c33f4e367c8101c70c31645ede4ac12ce85947c9 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Thu, 20 Nov 2014 12:02:57 -0500 Subject: [PATCH] Fix syntax error in whitespace. refs #3824 --- services/api/app/models/user.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb index f55e24b211..a32ce39299 100644 --- a/services/api/app/models/user.rb +++ b/services/api/app/models/user.rb @@ -402,8 +402,7 @@ class User < ArvadosModel return (Link.where(tail_uuid: self.uuid, head_uuid: all_users_group[:uuid], link_class: 'permission', - name: 'can_read').first - or + name: 'can_read').first or Link.create(tail_uuid: self.uuid, head_uuid: all_users_group[:uuid], link_class: 'permission', -- 2.30.2