REPP: Move domain transfer to rails API format

This commit is contained in:
Karl Erik Õunapuu 2020-10-14 15:46:57 +03:00
parent d1ab61f424
commit ee199f9318
No known key found for this signature in database
GPG key ID: C9DD647298A34764
3 changed files with 42 additions and 48 deletions

View file

@ -62,6 +62,7 @@ Rails.application.routes.draw do
resources :domains do
collection do
get ':id/transfer_info', to: 'domains#transfer_info', constraints: { id: /.*/ }
post 'transfer', to: 'domains#transfer'
end
end