mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +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
|
private
|
||||||
|
|
||||||
def set_contact
|
def set_contact
|
||||||
@contact = Contact.find(params[:id])
|
@contact = Contact.includes(domains: :registrar).find(params[:id])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue