REPP: Contacts show test

This commit is contained in:
Karl Erik Õunapuu 2020-10-19 17:14:23 +03:00
parent d1e877502d
commit 7f1637c8d2
No known key found for this signature in database
GPG key ID: C9DD647298A34764
3 changed files with 49 additions and 4 deletions

View file

@ -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