summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-18 08:14:40 -0400
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-04 11:31:35 +0200
commitb0ddbaa07cd780b0ed86aa4e3c24744c6426b1e1 (patch)
treed091bf98b27dd68e9994e3004a4cdec9d39e71ef /config/routes.rb
parent011a905a821e2ff0cd2d9885ef93764018eb8346 (diff)
downloadgitlab-ce-b0ddbaa07cd780b0ed86aa4e3c24744c6426b1e1.tar.gz
Added docker registry view
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 5b48819dd9d..0280898accd 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -690,6 +690,8 @@ Rails.application.routes.draw do
end
end
+ resources :images, only: [:index, :destroy], constraints: { id: Gitlab::Regex.image_reference_regex }
+
resources :milestones, constraints: { id: /\d+/ } do
member do
put :sort_issues