Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-12-29 19:07:23 +0300
committerMarin Jankovski <maxlazio@gmail.com>2014-12-29 19:07:23 +0300
commit492f3a477940daf425aabc9dd4a33e7a1e9092c1 (patch)
tree5f81c89c5212c1ac01f2ec4f2e86fc8a7043e71d /config
parent75043a9eba557d1fe31d81dc30bd979af321e907 (diff)
Add user key actions to admins.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
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