mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Domain rubocop updates
This commit is contained in:
parent
cff06e9286
commit
6d95c22130
1 changed files with 6 additions and 1 deletions
|
@ -121,7 +121,12 @@ class Domain < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def included
|
def included
|
||||||
includes(:registrar, :nameservers, {tech_contacts: :registrar}, {admin_contacts: :registrar})
|
includes(
|
||||||
|
:registrar,
|
||||||
|
:nameservers,
|
||||||
|
{ tech_contacts: :registrar },
|
||||||
|
{ admin_contacts: :registrar }
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue