Merge branch '2338-maintain-active-tab'
[arvados.git] / apps / workbench / app / models / link.rb
1 class Link < ArvadosBase
2   attr_accessor :head
3   attr_accessor :tail
4   def self.by_tail(t, opts={})
5     where(opts.merge :tail_kind => t.kind, :tail_uuid => t.uuid)
6   end
7 end