rename foreign uuid attributes
[arvados.git] / apps / workbench / app / controllers / collections_controller.rb
index 92d2ad0976cc838ec8d6e045d7c638e4ebd33b71..5c5e16b6da1c94e30ef89483c346737c9b3061b4 100644 (file)
@@ -27,7 +27,7 @@ class CollectionsController < ApplicationController
             c[:created_at] = l.head.created_at
           end
           c[:wanted] = true
-          if l.owner == current_user.uuid
+          if l.owner_uuid == current_user.uuid
             c[:wanted_by_me] = true
           end
         end