mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Merge branch 'master' into improve-registrant-area
# Conflicts: # test/fixtures/contacts.yml
This commit is contained in:
commit
3ca95364ef
51 changed files with 1021 additions and 235 deletions
|
@ -23,7 +23,9 @@ Rails.application.routes.draw do
|
|||
namespace :registrant do
|
||||
post 'auth/eid', to: 'auth#eid'
|
||||
|
||||
resources :domains, only: %i[index show], param: :uuid
|
||||
resources :domains, only: %i[index show], param: :uuid do
|
||||
resource :registry_lock, only: %i[create destroy]
|
||||
end
|
||||
resources :contacts, only: %i[index show], param: :uuid
|
||||
end
|
||||
end
|
||||
|
@ -191,11 +193,16 @@ Rails.application.routes.draw do
|
|||
match 'forward', via: [:post, :get]
|
||||
end
|
||||
|
||||
resources :domains do
|
||||
resources :domains, except: %i[new create destroy] do
|
||||
resources :domain_versions, controller: 'domains', action: 'versions'
|
||||
resources :pending_updates
|
||||
resources :pending_deletes
|
||||
resource :force_delete, controller: 'domains/force_delete', only: %i[create destroy]
|
||||
resource :registry_lock, controller: 'domains/registry_lock', only: :destroy
|
||||
|
||||
member do
|
||||
patch :keep
|
||||
end
|
||||
end
|
||||
|
||||
resources :domain_versions do
|
||||
|
@ -262,4 +269,4 @@ Rails.application.routes.draw do
|
|||
|
||||
# To prevent users seeing the default welcome message "Welcome aboard" from Rails
|
||||
root to: redirect('admin/sign_in')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue