Add tech contacts attaching

This commit is contained in:
Martin Lensment 2014-09-15 16:39:43 +03:00
parent 80440d741b
commit a9ee1cdad1
6 changed files with 90 additions and 7 deletions

View file

@ -206,3 +206,10 @@ en:
nameserver_added: 'Nameserver added!'
back_to_domain: 'Back to domain'
edit_domain: 'Edit domain'
contact_was_not_found: 'Contact was not found!'
contact_already_exists: 'Contact already exists on this domain!'
contact_added: 'Contact added!'
new_tech_contact: 'New tech contact'
new_admin_contact: 'New admin contact'
contact_detached: 'Contact detached!'
failed_to_detach_contact: 'Failed to detach contact!'

View file

@ -8,7 +8,9 @@ Rails.application.routes.draw do
namespace(:admin) do
resources :domains do
resources :nameservers
resources :tech_contacts
end
resources :setting_groups
resources :registrars do
collection do