2021-02-03 21:09:17 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-10-05 15:43:47 +00:00
|
|
|
if Gitlab::Sherlock.enabled?
|
|
|
|
namespace :sherlock do
|
|
|
|
resources :transactions, only: [:index, :show] do
|
|
|
|
resources :queries, only: [:show]
|
|
|
|
resources :file_samples, only: [:show]
|
|
|
|
|
|
|
|
collection do
|
|
|
|
delete :destroy_all
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|