mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Improve registrant area
This commit is contained in:
parent
43a70863cf
commit
638167e3cb
14 changed files with 119 additions and 80 deletions
|
@ -1,5 +1,6 @@
|
|||
class Registrant::ContactsController < RegistrantController
|
||||
helper_method :domain_ids
|
||||
helper_method :domain
|
||||
|
||||
def show
|
||||
@contact = Contact.where(id: contacts).find_by(id: params[:id])
|
||||
|
@ -26,4 +27,8 @@ class Registrant::ContactsController < RegistrantController
|
|||
BusinessRegistryCache.fetch_by_ident_and_cc(ident, ident_cc).associated_domain_ids
|
||||
end
|
||||
end
|
||||
|
||||
def domain
|
||||
Domain.find(params[:domain_id])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue