diff options
author | Andrey Kumanyaev <me@zzet.org> | 2013-01-23 18:14:20 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-25 00:31:48 +0400 |
commit | 31d84d71d3659dc815875f39f466cdcf81d97aaf (patch) | |
tree | a188fb66dbd04297126dc1ee6a7fa9854744d22b /config | |
parent | 18bd1c9d30e16783d750c7786cbcc7d350f4d0aa (diff) |
assign team to project from project page in public section
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 12 |
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 |