mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Added eager load to admin contact
This commit is contained in:
parent
2bfc227322
commit
c6c58b177a
1 changed files with 1 additions and 1 deletions
|
@ -14,6 +14,6 @@ class Admin::ContactsController < AdminController
|
|||
private
|
||||
|
||||
def set_contact
|
||||
@contact = Contact.find(params[:id])
|
||||
@contact = Contact.includes(domains: :registrar).find(params[:id])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue