Allow admin client to create API tokens for other users.
[arvados.git] / services / api / app / controllers / arvados / v1 / links_controller.rb
1 class Arvados::V1::LinksController < ApplicationController
2   def index
3     if params[:tail_uuid]
4       params[:where] = Oj.load(params[:where]) if params[:where].is_a?(String)
5       params[:where] ||= {}
6       params[:where][:tail_uuid] = params[:tail_uuid]
7     end
8     super
9   end
10 end