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/project.rb')
-rw-r--r--config/routes/project.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 947ed6b5413..bda8c0e26e0 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -186,6 +186,12 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
resources :deploy_keys, constraints: { id: /\d+/ }, only: [:index, :new, :create, :edit, :update] do
+ collection do
+ get :enabled_keys
+ get :available_project_keys
+ get :available_public_keys
+ end
+
member do
put :enable
put :disable
@@ -402,6 +408,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
# its preferable to keep it below all other project routes
draw :repository
draw :wiki
+ draw :gcp
namespace :import do
resource :jira, only: [:show], controller: :jira
@@ -437,10 +444,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
- namespace :integrations do
- resource :shimo, only: [:show]
- end
-
get :planning_hierarchy
resources :badges, only: [] do