mirror of
https://github.com/internetee/registry.git
synced 2025-05-21 03:39:40 +02:00
Ident now in extension section
This commit is contained in:
parent
cec7a27177
commit
58176b3cfa
4 changed files with 81 additions and 36 deletions
|
@ -90,7 +90,7 @@ class Epp::ContactsController < EppController
|
|||
@prefix = 'create > create >'
|
||||
requires(
|
||||
'postalInfo > name', 'postalInfo > addr > city',
|
||||
'postalInfo > addr > cc', 'ident', 'voice', 'email'
|
||||
'postalInfo > addr > cc', 'voice', 'email'
|
||||
)
|
||||
ident = params[:parsed_frame].css('ident')
|
||||
if ident.present? && ident.text != 'birthday' && ident.attr('cc').blank?
|
||||
|
@ -100,6 +100,7 @@ class Epp::ContactsController < EppController
|
|||
}
|
||||
end
|
||||
@prefix = nil
|
||||
requires 'extension > extdata > ident'
|
||||
end
|
||||
|
||||
def validate_update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue