From 54653f75cf44890310a06c3a8a6be59625629d2a Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 19 Jan 2018 14:11:24 +0100 Subject: API: implement deleting keys through new keys api --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index ba8f168..55d03fa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -41,7 +41,7 @@ LeapWeb::Application.routes.draw do resource :service, :only => [:show] resources :configs, :only => [:index, :show] resources :identities, :only => [:show] - resources :keys, :only=> [:index, :show, :create, :update] + resources :keys, :except=> [:edit, :new] end scope "(:locale)", :locale => CommonLanguages.match_available do -- cgit v1.2.3