mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Fix CC issues
This commit is contained in:
parent
d4dc39bf22
commit
11d97358c1
16 changed files with 78 additions and 60 deletions
|
@ -3,6 +3,7 @@ xml.epp_head do
|
|||
@errors.each do |error|
|
||||
x = error&.options
|
||||
next if x.empty? || x == { value: nil }
|
||||
|
||||
xml.result('code' => x[:code]) do
|
||||
xml.msg(x[:msg], 'lang' => 'en')
|
||||
model_name = resource ? resource.model_name.singular.sub('epp_','') : controller.controller_name.singularize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue