mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Remove unused routes
This commit is contained in:
parent
67ec7b1256
commit
152759ab73
1 changed files with 4 additions and 21 deletions
|
@ -111,8 +111,8 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :domain_update_confirms
|
resources :domain_update_confirms, only: %i[show update]
|
||||||
resources :domain_delete_confirms
|
resources :domain_delete_confirms, only: %i[show update]
|
||||||
|
|
||||||
devise_scope :user do
|
devise_scope :user do
|
||||||
get 'login' => 'sessions#login'
|
get 'login' => 'sessions#login'
|
||||||
|
@ -126,25 +126,8 @@ Rails.application.routes.draw do
|
||||||
get 'logout' => '/devise/sessions#destroy'
|
get 'logout' => '/devise/sessions#destroy'
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :domains do
|
resources :registrars, only: :show
|
||||||
resources :registrant_verifications
|
resources :contacts, only: :show
|
||||||
collection do
|
|
||||||
post 'update', as: 'update'
|
|
||||||
post 'destroy', as: 'destroy'
|
|
||||||
get 'renew'
|
|
||||||
get 'edit'
|
|
||||||
get 'info'
|
|
||||||
get 'delete'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
resources :registrars do
|
|
||||||
collection do
|
|
||||||
get :search
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
resources :contacts
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue