mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
REPP: Contacts show test
This commit is contained in:
parent
d1e877502d
commit
7f1637c8d2
3 changed files with 49 additions and 4 deletions
|
@ -81,7 +81,7 @@ module Repp
|
|||
|
||||
def find_contact
|
||||
code = params[:id]
|
||||
@contact = Epp::Contact.find_by!(code: code)
|
||||
@contact = Epp::Contact.find_by!(code: code, registrar: current_user.registrar)
|
||||
end
|
||||
|
||||
def contact_params_with_address
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue