about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2021-03-01 18:39:47 +0100
committerGitHub <noreply@github.com>2021-03-01 18:39:47 +0100
commitee1119208c613b9ded7ebfb2a5a7b8bd5a5ef008 (patch)
treebecd592fb3d5015681a31613d74d73a132609740 /config/routes.rb
parent287aa75f2ecc9bbbb75047e96e64882d8d14fd82 (diff)
Add `POST /api/v1/emails/confirmations` to REST API (#15816)
Only available to the application the user originally signed-up with
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 0ff48cf48..780a52b0c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -403,6 +403,10 @@ Rails.application.routes.draw do
 
       resources :apps, only: [:create]
 
+      namespace :emails do
+        resources :confirmations, only: [:create]
+      end
+
       resource :instance, only: [:show] do
         resources :peers, only: [:index], controller: 'instances/peers'
         resource :activity, only: [:show], controller: 'instances/activity'