manager: add confirmation email actions for the User

- Allow to re-send the confirmation email
- Allow to confirm the email address manually
This commit is contained in:
Pierre de La Morinerie 2018-07-17 12:10:56 +02:00
parent 5c9676678d
commit 7ca476fc61
3 changed files with 75 additions and 1 deletions

View file

@ -15,7 +15,11 @@ Rails.application.routes.draw do
put 'enable_feature', on: :member
end
resources :users, only: [:index, :show]
resources :users, only: [:index, :show] do
post 'resend_confirmation_instructions', on: :member
post 'confirm', on: :member
end
resources :gestionnaires, only: [:index, :show] do
post 'reinvite', on: :member
end