X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fdbd7d958bd1c463e3d40adfdb6a8ddd241c308a..43773cb247a1fb744b57070b715bfa5d53a00822:/services/api/app/controllers/orvos/v1/links_controller.rb diff --git a/services/api/app/controllers/orvos/v1/links_controller.rb b/services/api/app/controllers/orvos/v1/links_controller.rb new file mode 100644 index 0000000000..046f6838f2 --- /dev/null +++ b/services/api/app/controllers/orvos/v1/links_controller.rb @@ -0,0 +1,10 @@ +class Orvos::V1::LinksController < ApplicationController + def index + if params[:tail_uuid] + params[:where] = Oj.load(params[:where]) if params[:where].is_a?(String) + params[:where] ||= {} + params[:where][:tail_uuid] = params[:tail_uuid] + end + super + end +end