From ee1119208c613b9ded7ebfb2a5a7b8bd5a5ef008 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 1 Mar 2021 18:39:47 +0100 Subject: Add `POST /api/v1/emails/confirmations` to REST API (#15816) Only available to the application the user originally signed-up with --- config/routes.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/routes.rb') 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' -- cgit