projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2760: Make editable? follow permissions obtained via groups/folders.
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
link.rb
diff --git
a/apps/workbench/app/models/link.rb
b/apps/workbench/app/models/link.rb
index 899a80022ced45b28ce618f2fc847f268550750a..5e7b42a60b0ea985dcda2daf6822d8dcb22c1dec 100644
(file)
--- a/
apps/workbench/app/models/link.rb
+++ b/
apps/workbench/app/models/link.rb
@@
-2,6
+2,6
@@
class Link < ArvadosBase
attr_accessor :head
attr_accessor :tail
def self.by_tail(t, opts={})
attr_accessor :head
attr_accessor :tail
def self.by_tail(t, opts={})
- where(opts.merge :tail_
kind => t.kind, :tail_
uuid => t.uuid)
+ where(opts.merge :tail_uuid => t.uuid)
end
end
end
end