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-03-25 12:48:30 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-25 12:48:30 +0400
commite292d7c17b48182f7f8df20d93b92e8ba9e98ce6 (patch)
treee55825c995795b79bb83083defd8ebb8eacd049c /config
parentff35b37fd2df3b4bdcb9f1b7448d98df07237d08 (diff)
Make transfer action in project controller
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index fafaef847a3..505538fcad2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -167,6 +167,10 @@ Gitlab::Application.routes.draw do
# Project Area
#
resources :projects, constraints: { id: /(?:[a-zA-Z.0-9_\-]+\/)?[a-zA-Z.0-9_\-]+/ }, except: [:new, :create, :index], path: "/" do
+ member do
+ put :transfer
+ end
+
resources :blob, only: [:show], constraints: {id: /.+/}
resources :tree, only: [:show], constraints: {id: /.+/, format: /(html|js)/ }
resources :edit_tree, only: [:show, :update], constraints: {id: /.+/}, path: 'edit'