Add unsubscribe link to e-mails (#25378)

This commit is contained in:
Eugen Rochko
2023-06-12 14:22:46 +02:00
committed by GitHub
parent dfaf59d99a
commit 6637ef7852
8 changed files with 106 additions and 11 deletions

View File

@@ -67,6 +67,8 @@ Rails.application.routes.draw do
devise_scope :user do
get '/invite/:invite_code', to: 'auth/registrations#new', as: :public_invite
resource :unsubscribe, only: [:show, :create], controller: :mail_subscriptions
namespace :auth do
resource :setup, only: [:show, :update], controller: :setup
resource :challenge, only: [:create], controller: :challenges