mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
Reformat
This commit is contained in:
parent
0b6e89dbca
commit
67ec7b1256
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class Registrant::RegistrarsController < RegistrantController
|
||||
|
||||
def show
|
||||
@registrar = Registrar.find(params[:id])
|
||||
authorize! :read, @registrar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue