mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Fix CC issues
This commit is contained in:
parent
d4dc39bf22
commit
11d97358c1
16 changed files with 78 additions and 60 deletions
|
@ -16,11 +16,11 @@ module Repp
|
|||
|
||||
def update
|
||||
@epp_errors ||= ActiveModel::Errors.new(self)
|
||||
if @new_contact.invalid?
|
||||
@epp_errors.add(:epp_errors,
|
||||
msg: 'New contact must be valid',
|
||||
code: '2304')
|
||||
end
|
||||
return unless @new_contact.invalid?
|
||||
|
||||
@epp_errors.add(:epp_errors,
|
||||
msg: 'New contact must be valid',
|
||||
code: '2304')
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue