diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-03 17:27:23 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-03 18:03:04 -0400 |
commit | 6e5473f930c11be6719585b47c47d8552f6b41b5 (patch) | |
tree | c758b4a13f902c36651ff68ed6a1e18d5cc597ac /config | |
parent | 83e59db55e9bd65a41af69eda893ef39e8fd7aed (diff) | |
download | gitlab-ce-6e5473f930c11be6719585b47c47d8552f6b41b5.tar.gz |
Remove show actions from Admin and Project DeployKeys
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index b7380254abb..f4a104664f3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -165,7 +165,7 @@ Gitlab::Application.routes.draw do end end - resources :deploy_keys, only: [:index, :show, :new, :create, :destroy] + resources :deploy_keys, only: [:index, :new, :create, :destroy] resources :hooks, only: [:index, :create, :destroy] do get :test @@ -421,7 +421,7 @@ Gitlab::Application.routes.draw do end end - resources :deploy_keys, constraints: { id: /\d+/ }, only: [:index, :show, :new, :create] do + resources :deploy_keys, constraints: { id: /\d+/ }, only: [:index, :new, :create] do member do put :enable put :disable |