Browse Source

Disable E2EE API routes for the next release (#14283)

master
Eugen Rochko 3 years ago
committed by GitHub
parent
commit
da3978c48e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 16 deletions
  1. +16
    -16
      config/routes.rb

+ 16
- 16
config/routes.rb View File

@ -340,22 +340,22 @@ Rails.application.routes.draw do
end 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
# 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 resources :conversations, only: [:index, :destroy] do
member do member do

Loading…
Cancel
Save