Nameserver hostname replacing

This commit is contained in:
Martin Lensment 2015-04-28 18:36:59 +03:00
parent 23098add74
commit 1f2ba55acb
7 changed files with 135 additions and 0 deletions

View file

@ -746,3 +746,10 @@ en:
due_date_before: 'Due date before'
minimum_total: 'Minimum total'
maximum_total: 'Maximum total'
hostname_end: 'Hostname end'
hostname_end_replacement: 'Hostname end replacement'
hostname_end_is_required: 'Hostname end is required'
hostname_end_replacement_is_required: 'Hostname end replacement is required'
hostnames_replaced: 'Hostnames replaced'
all_hostnames_replaced: 'All hostnames replaced'
hostnames_partially_replaced: 'Hostnames partially replaced'

View file

@ -55,6 +55,12 @@ Rails.application.routes.draw do
end
end
resources :nameservers do
collection do
get 'replace_hostnames'
end
end
resources :contacts do
member do
get 'delete'