Add new links to registrant page layout

This commit is contained in:
Maciej Szlosarczyk 2018-06-18 10:30:23 +03:00
parent 5a0d191b7e
commit 843dc8edcb
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
3 changed files with 12 additions and 20 deletions

View file

@ -1,11 +0,0 @@
# As non-GDPR compliant, this controller is deprecated. Needs to be replaced with one that relies
# on the REST WHOIS API.
class Registrant::WhoisController < RegistrantController
def index
authorize! :view, :registrant_whois
if params[:domain_name].present?
@domain = WhoisRecord.find_by(name: params[:domain_name]);
end
end
end