REPP: Move domain transfer info to rails API format

This commit is contained in:
Karl Erik Õunapuu 2020-10-14 12:42:15 +03:00
parent 6c655e1179
commit d1ab61f424
No known key found for this signature in database
GPG key ID: C9DD647298A34764
4 changed files with 68 additions and 52 deletions

View file

@ -59,6 +59,12 @@ Rails.application.routes.draw do
end
end
end
resources :domains do
collection do
get ':id/transfer_info', to: 'domains#transfer_info', constraints: { id: /.*/ }
end
end
namespace :domains do
resources :contacts do
collection do