mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Rubocop autocorrect
This commit is contained in:
parent
f8c48a7456
commit
6c5c0b38c8
59 changed files with 533 additions and 546 deletions
|
@ -48,6 +48,7 @@ module Epp::DomainsHelper
|
|||
end
|
||||
|
||||
### HELPER METHODS ###
|
||||
|
||||
private
|
||||
|
||||
## CREATE
|
||||
|
@ -95,7 +96,7 @@ module Epp::DomainsHelper
|
|||
def find_domain
|
||||
domain = Domain.find_by(name: @ph[:name])
|
||||
unless domain
|
||||
epp_errors << {code: '2303', msg: I18n.t('errors.messages.epp_domain_not_found'), value: {obj: 'name', val: @ph[:name]}}
|
||||
epp_errors << { code: '2303', msg: I18n.t('errors.messages.epp_domain_not_found'), value: { obj: 'name', val: @ph[:name] } }
|
||||
end
|
||||
domain
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue