about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-06-09 11:16:42 +0200
committerThibaut Girka <thib@sitedethib.com>2020-06-09 11:16:42 +0200
commitb826e504b4d9661fca0fa5670523e4931cefc7f4 (patch)
tree5d5f6ac3715fb0bfb05fa3c076bcffdf19c9ed72 /config/routes.rb
parent00cd919750c5b159c9ed4213f18683f1a7cafb94 (diff)
Disable E2EE-related routes
Not that I think they are an issue, but the API is likely to change, and
isn't versioned, so I don't want to that be an issue since we also don't
have clear versioning in glitch-soc.
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb32
1 files changed, 16 insertions, 16 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 93e995df2..d2f350580 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -343,22 +343,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