mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Create a Registrant auth controller
This commit is contained in:
parent
9de6c62560
commit
d67e777ea8
4 changed files with 53 additions and 1 deletions
|
@ -18,6 +18,15 @@ Rails.application.routes.draw do
|
|||
|
||||
mount Repp::API => '/'
|
||||
|
||||
namespace :api do
|
||||
namespace :v1 do
|
||||
namespace :registrant do
|
||||
post 'auth/eid', to: 'auth#eid'
|
||||
post 'auth/username', to: 'auth#username'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# REGISTRAR ROUTES
|
||||
namespace :registrar do
|
||||
resource :dashboard
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue