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
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-15 17:25:37 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-15 17:25:37 +0400
commit0815098d3af16444645d161cde3ef5150b2fd75d (patch)
tree7f0b3b9f3ca650a7c1913b5c589da84b1eb25e23 /config
parentdcea191314c778331305d0926d6852fe04477115 (diff)
Admin can transfer project to any namespace
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 3b69239087c..06e8fddf705 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -89,7 +89,13 @@ Gitlab::Application.routes.draw do
resources :broadcast_messages, only: [:index, :create, :destroy]
resource :logs, only: [:show]
resource :background_jobs, controller: 'background_jobs', only: [:show]
- resources :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ }, only: [:index, :show]
+
+ resources :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ }, only: [:index, :show] do
+ member do
+ put :transfer
+ end
+ end
+
root to: "dashboard#index"
end