Handling contact verifications

This commit is contained in:
tsoganov 2024-10-09 11:57:32 +03:00
parent 44e42dd0fb
commit 637cabf95f
19 changed files with 612 additions and 5 deletions

View file

@ -74,6 +74,7 @@ Rails.application.routes.draw do
collection do
get 'check/:id', to: 'contacts#check'
get 'search(/:id)', to: 'contacts#search'
post 'verify/:id', to: 'contacts#verify'
end
end
end
@ -372,6 +373,12 @@ Rails.application.routes.draw do
end
end
namespace :eeid do
namespace :webhooks do
resources :identification_requests, only: :create
end
end
# To prevent users seeing the default welcome message "Welcome aboard" from Rails
root to: redirect('admin/sign_in')
end