diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-29 19:07:23 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-29 19:07:23 +0300 |
commit | 492f3a477940daf425aabc9dd4a33e7a1e9092c1 (patch) | |
tree | 5f81c89c5212c1ac01f2ec4f2e86fc8a7043e71d /config | |
parent | 75043a9eba557d1fe31d81dc30bd979af321e907 (diff) |
Add user key actions to admins.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9b99f0643a7..80a509976a1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -84,6 +84,8 @@ Gitlab::Application.routes.draw 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 |