internetee-registry/app/controllers/registrant/whois_controller.rb
2018-05-25 13:58:13 +03:00

11 lines
353 B
Ruby

# 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