mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
Handling contact verifications
This commit is contained in:
parent
44e42dd0fb
commit
637cabf95f
19 changed files with 612 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue