1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 class LinksController < ApplicationController
7 if @object.link_class == 'name' and
8 Collection == ArvadosBase::resource_class_for_uuid(@object.head_uuid)
9 return redirect_to collection_path(@object.uuid)