diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-30 14:12:11 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-30 14:12:11 +0400 |
commit | 048a21974ef56285099eb4b54b6ca1e6fd7e3e8c (patch) | |
tree | 128dcb441241a59c8aa0206e2f5510a7ae2c9fc4 /config | |
parent | 81aebaa189586d4384fff92324fc9ec5bd8d8962 (diff) |
Add create/update to Labels controller
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3b34ad40297..261fbb50e38 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -297,7 +297,7 @@ Gitlab::Application.routes.draw do end end - resources :labels, only: [:index] do + resources :labels, constraints: {id: /\d+/} do collection do post :generate end |