about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-07-10 22:09:42 +0200
committerGitHub <noreply@github.com>2020-07-10 22:09:42 +0200
commitda3978c48e620c0a6a658e81fecde49189cdf5f6 (patch)
tree6ffb8f8a1154fef349f84900016d0aa1db9881fe
parent6cc5b822f5ca7df9b267ac2b5d24e2aac2dc0325 (diff)
Disable E2EE API routes for the next release (#14283)
-rw-r--r--config/routes.rb32
1 files changed, 16 insertions, 16 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a16f89687..349db0934 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -340,22 +340,22 @@ Rails.application.routes.draw do
         end
       end
 
-      namespace :crypto do
-        resources :deliveries, only: :create
-
-        namespace :keys do
-          resource :upload, only: [:create]
-          resource :query,  only: [:create]
-          resource :claim,  only: [:create]
-          resource :count,  only: [:show]
-        end
-
-        resources :encrypted_messages, only: [:index] do
-          collection do
-            post :clear
-          end
-        end
-      end
+      # namespace :crypto do
+      #   resources :deliveries, only: :create
+
+      #   namespace :keys do
+      #     resource :upload, only: [:create]
+      #     resource :query,  only: [:create]
+      #     resource :claim,  only: [:create]
+      #     resource :count,  only: [:show]
+      #   end
+
+      #   resources :encrypted_messages, only: [:index] do
+      #     collection do
+      #       post :clear
+      #     end
+      #   end
+      # end
 
       resources :conversations, only: [:index, :destroy] do
         member do