mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
REPP: Move Domains#Contacts to rails API format
This commit is contained in:
parent
c31dc15207
commit
6c655e1179
3 changed files with 46 additions and 47 deletions
|
@ -59,6 +59,13 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
end
|
||||
namespace :domains do
|
||||
resources :contacts do
|
||||
collection do
|
||||
patch '/', to: 'contacts#update'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue