diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-30 10:15:11 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-30 10:15:11 +0100 |
commit | 82829ed49e11a173275633cad63978e4ee07e927 (patch) | |
tree | 1ed868a3ddffb03acf86da5207750521e8156930 /config | |
parent | c1e57b47b81db4b3959b0ce63d7f65cb6cdf6f57 (diff) | |
download | gitlab-ce-82829ed49e11a173275633cad63978e4ee07e927.tar.gz |
Move user key manipulation in admin section to a separate controller.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 80a509976a1..a77352a5b0f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -80,12 +80,11 @@ Gitlab::Application.routes.draw do # namespace :admin do resources :users, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ } do + resources :keys, only: [:show, :destroy] member do put :team_update put :block put :unblock - get 'key/:key_id', action: 'show_key', as: 'user_key' - delete 'key/:key_id', action: 'remove_key', as: 'remove_user_key' delete 'remove/:email_id', action: 'remove_email', as: 'remove_email' end end |