diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-07 17:57:29 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-07 17:57:29 +0300 |
commit | 9d668750698558ce7864c370e34a06c7a710ff00 (patch) | |
tree | 29c2df95eea6c88fa9a3b7f223f0049e10145f5f /config | |
parent | af5d0e9e92f3fb818c73f1b8b991ea61ddc35dd4 (diff) | |
download | gitlab-ce-9d668750698558ce7864c370e34a06c7a710ff00.tar.gz |
Add generate action to labels controller which allow creation of default labels set for project
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index f8881afb669..a3258c91a8c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -269,7 +269,13 @@ Gitlab::Application.routes.draw do resources :team, controller: 'team_members', only: [:index] resources :milestones, except: [:destroy] - resources :labels, only: [:index] + + resources :labels, only: [:index] do + collection do + post :generate + end + end + resources :issues, except: [:destroy] do collection do post :bulk_update |