about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-06-09 13:00:24 +0200
committerGitHub <noreply@github.com>2020-06-09 13:00:24 +0200
commit3287a10fe9658a6c370431a925abc50d4f68ea08 (patch)
tree88a408a943aa421a6ba844d309f673150cd92434 /config/routes.rb
parentf328f2faa3fbdb182921366c6a20e745c069b840 (diff)
parente9d7ca7645fc37534df1222e8d7ab8f3d533b852 (diff)
Merge pull request #1350 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 42f2f0f7f..d2f350580 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -79,6 +79,7 @@ Rails.application.routes.draw do
 
     resource :outbox, only: [:show], module: :activitypub
     resource :inbox, only: [:create], module: :activitypub
+    resource :claim, only: [:create], module: :activitypub
     resources :collections, only: [:show], module: :activitypub
   end
 
@@ -342,6 +343,23 @@ 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
+
       resources :conversations, only: [:index, :destroy] do
         member do
           post :read