1 class Arvados::V1::KeepServicesController < ApplicationController
3 skip_before_filter :find_object_by_uuid, only: :accessible
4 skip_before_filter :render_404_if_no_object, only: :accessible
6 def find_objects_for_index
7 # all users can list all keep services
8 @objects = model_class.where('1=1')
13 if request.headers['X-External-Client'] == '1'
14 @objects = model_class.where('service_type=?', 'proxy')
16 @objects = model_class.where('service_type=?', 'disk')