From 2e1146c451ded0aca9d8148ce46ade997c4c76cc Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 10 Jul 2020 22:09:42 +0200 Subject: [PATCH] Disable E2EE API routes for the next release (#14283) --- config/routes.rb | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index a16f89687f..349db09343 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 :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 + # 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 :encrypted_messages, only: [:index] do + # collection do + # post :clear + # end + # end + # end resources :conversations, only: [:index, :destroy] do member do