summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2018-01-19 14:11:24 +0100
committerAzul <azul@riseup.net>2018-01-19 14:11:24 +0100
commit54653f75cf44890310a06c3a8a6be59625629d2a (patch)
tree3a1c851033c46e1a140de3e3b5a17ad4b7f2647e /config
parentb8ba4f27a82868e0b3338b4af761f7c44226e729 (diff)
API: implement deleting keys through new keys api
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 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