Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / models / user.rb
index 865ff6e9519cacf613b248df446fd4a1e0b24636..c4b273c6b81e81cbcccd0034ee1aff1bf5a07424 100644 (file)
@@ -109,7 +109,7 @@ class User < ArvadosBase
     false
   end
 
-   def self.creatable?
-    current_user and current_user.is_admin
-   end
+  def self.creatable?
+    current_user.andand.is_admin
+  end
 end