Domain list for admin

This commit is contained in:
Martin Lensment 2014-09-05 12:16:02 +03:00
parent 238be6d59e
commit 8531e50474
11 changed files with 81 additions and 7 deletions

View file

@ -83,7 +83,8 @@ module Epp::DomainsHelper
## CREATE
def validate_domain_create_request
@ph = params_hash['epp']['command']['create']['create']
xml_attrs_present?(@ph, [['name'], ['ns'], ['contact'], ['registrant']])
# TODO: Verify contact presence if registrant is juridical
xml_attrs_present?(@ph, [['name'], ['ns'], ['registrant']])
end
def domain_create_params