diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-05 18:43:47 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-05 18:43:47 +0300 |
commit | b9e259ddedd31eb600b42d414891e533134ad315 (patch) | |
tree | 88a4d779f1923643b51a1867a5d8062000e2da44 /config/routes/sherlock.rb | |
parent | ba4c392721bc5d784b5d71a5ea41ee83edebc923 (diff) | |
download | gitlab-ce-b9e259ddedd31eb600b42d414891e533134ad315.tar.gz |
Cleanup config/routes.rb even further by extracting more routes into separate filesdz-more-route-cleanup
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config/routes/sherlock.rb')
-rw-r--r-- | config/routes/sherlock.rb | 12 |
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 |