mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Remove registrant portal code
This commit is contained in:
parent
752bdedf1e
commit
bb8539596a
49 changed files with 2 additions and 1777 deletions
|
@ -191,35 +191,8 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
scope :registrant do
|
||||
devise_scope :registrant_user do
|
||||
get 'sign_in', to: 'registrant/sessions#new', as: :new_registrant_user_session
|
||||
post 'sessions', to: 'registrant/sessions#create', as: :registrant_user_session
|
||||
delete 'sign_out', to: 'registrant/sessions#destroy', as: :destroy_registrant_user_session
|
||||
|
||||
# TARA
|
||||
match '/open_id/callback', via: %i[get post], to: 'sso/tara#registrant_callback'
|
||||
match '/open_id/cancel', via: %i[get post delete], to: 'sso/tara#cancel'
|
||||
end
|
||||
end
|
||||
|
||||
namespace :registrant do
|
||||
root 'domains#index'
|
||||
|
||||
# POST /registrant/sign_in is not used
|
||||
devise_for :users, path: '', class_name: 'RegistrantUser'
|
||||
|
||||
resources :registrars, only: :show
|
||||
# resources :companies, only: :index
|
||||
resources :domains, only: %i[index show] do
|
||||
resources :contacts, only: %i[show edit update]
|
||||
member do
|
||||
get 'confirmation'
|
||||
end
|
||||
end
|
||||
|
||||
resources :domain_update_confirms, only: %i[show update]
|
||||
resources :domain_delete_confirms, only: %i[show update]
|
||||
end
|
||||
|
||||
# ADMIN ROUTES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue