0
0
Fork 0

Add POST /api/v1/emails/confirmations to REST API (#15816)

Only available to the application the user originally signed-up with
This commit is contained in:
Eugen Rochko 2021-03-01 18:39:47 +01:00 committed by GitHub
parent 287aa75f2e
commit ee1119208c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 2 deletions

View file

@ -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'