Move @redis.exists and .getrange outside .subscribe block. Otherwise
[arvados.git] / services / api / app / models / specimen.rb
index ea97fa012aee74c5c258a1e9ea15cc484c522759..bcfcd7a5f2be49f5de232c6b076e17c38a0744bf 100644 (file)
@@ -4,7 +4,7 @@ class Specimen < ArvadosModel
   include CommonApiTemplate
   serialize :properties, Hash
 
-  api_accessible :superuser, :extend => :common do |t|
+  api_accessible :user, extend: :common do |t|
     t.add :material
     t.add :properties
   end