Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/repository.rb')
-rw-r--r--config/routes/repository.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/routes/repository.rb b/config/routes/repository.rb
index 74e72927699..0202eb80b23 100644
--- a/config/routes/repository.rb
+++ b/config/routes/repository.rb
@@ -51,10 +51,7 @@ scope format: false do
end
delete :merged_branches, controller: 'branches', action: :destroy_all_merged
- resources :tags, only: [:index, :show, :new, :create, :destroy] do
- resource :release, controller: 'tags/releases', only: [:edit, :update]
- end
-
+ resources :tags, only: [:index, :show, :new, :create, :destroy]
resources :protected_branches, only: [:index, :show, :create, :update, :destroy, :patch], constraints: { id: Gitlab::PathRegex.git_reference_regex }
resources :protected_tags, only: [:index, :show, :create, :update, :destroy]
end