This commit is contained in:
Artur Beljajev 2018-06-18 00:30:48 +03:00
parent 0b6e89dbca
commit 67ec7b1256
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,8 @@
class Registrant::ContactsController < RegistrantController
helper_method :domain_ids
def show
@contact = Contact.where(id: contacts).find_by(id: params[:id])
@contact = Contact.where(id: contacts).find_by(id: params[:id])
@current_user = current_user
authorize! :read, @contact

View file

@ -1,5 +1,4 @@
class Registrant::RegistrarsController < RegistrantController
def show
@registrar = Registrar.find(params[:id])
authorize! :read, @registrar