Update routes

This commit is contained in:
Maciej Szlosarczyk 2018-08-10 13:17:20 +03:00
parent 194adec9d3
commit 2a7caaa33e
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765

View file

@ -23,8 +23,8 @@ Rails.application.routes.draw do
namespace :registrant do namespace :registrant do
post 'auth/eid', to: 'auth#eid' post 'auth/eid', to: 'auth#eid'
resources :domains, only: [:index], param: :uuid do resources :domains, only: %i[index show], param: :uuid do
resource :registry_lock, only: [:create, :destroy] resource :registry_lock, only: %i[create destroy]
end end
end end
end end