summaryrefslogtreecommitdiff
path: root/config/routes/sherlock.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/sherlock.rb')
-rw-r--r--config/routes/sherlock.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/routes/sherlock.rb b/config/routes/sherlock.rb
new file mode 100644
index 00000000000..c9969f91c36
--- /dev/null
+++ b/config/routes/sherlock.rb
@@ -0,0 +1,12 @@
+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