mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Provide full Contact object to all_domains() instead of just id
This commit is contained in:
parent
e08f69a1cc
commit
f39fb1dc8b
2 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,7 @@ class Registrant::ContactsController < RegistrantController
|
|||
before_action :set_contact, only: [:show]
|
||||
|
||||
def show
|
||||
@requester_contact = Contact.find_by(ident: current_registrant_user.ident).id
|
||||
@requester_contact = Contact.find_by(ident: current_registrant_user.ident)
|
||||
authorize! :read, @contact
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue