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:
authorAndrey Kumanyaev <me@zzet.org>2013-01-23 18:14:20 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-25 00:31:48 +0400
commit31d84d71d3659dc815875f39f466cdcf81d97aaf (patch)
treea188fb66dbd04297126dc1ee6a7fa9854744d22b /config
parent18bd1c9d30e16783d750c7786cbcc7d350f4d0aa (diff)
assign team to project from project page in public section
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e8af16387bc..a19ab14f605 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -269,6 +269,18 @@ Gitlab::Application.routes.draw do
end
end
+ scope module: :projects do
+ resources :teams, only: [] do
+ collection do
+ get :avaliable
+ post :assign
+ end
+ member do
+ delete :resign
+ end
+ end
+ end
+
resources :notes, only: [:index, :create, :destroy] do
collection do
post :preview