summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2015-12-21 17:58:20 +0000
committerRobert Speicher <rspeicher@gmail.com>2015-12-21 12:58:43 -0500
commitc62f7ca4f89e9e9a5196d863f08ea21cd6f332f5 (patch)
tree6c06512cf5efe9e5af34055864b6865124477a69 /config
parent8eb895eeb2102b83b335ee61844bff9bf0194cf5 (diff)
downloadgitlab-ce-c62f7ca4f89e9e9a5196d863f08ea21cd6f332f5.tar.gz
Merge branch 'admin_add_identity' into 'master'
Allow admin to create new user identities Fixes #2442 See merge request !2077
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 57be57e3251..b9242327de1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -188,7 +188,7 @@ Rails.application.routes.draw do
namespace :admin do
resources :users, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ } do
resources :keys, only: [:show, :destroy]
- resources :identities, only: [:index, :edit, :update, :destroy]
+ resources :identities, except: [:show]
delete 'stop_impersonation' => 'impersonation#destroy', on: :collection