diff options
author | Drew Blessing <drew@gitlab.com> | 2015-12-11 23:33:15 +0300 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2015-12-15 22:54:35 +0300 |
commit | 577448ab6ab35abbf0263bf8677dfde6d9770c3f (patch) | |
tree | 6355effd4303933bd374463d467dbc18181e92ca /config | |
parent | 2b4a3bc524c0db3f6e4e3d2b2f34ec29e358b240 (diff) |
Allow admin to create new user identities
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 e2d4fcb65a8..9900329a315 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 |