diff --git a/app/controllers/registrant/whois_controller.rb b/app/controllers/registrant/whois_controller.rb index b44a0bb67..2936477eb 100644 --- a/app/controllers/registrant/whois_controller.rb +++ b/app/controllers/registrant/whois_controller.rb @@ -1,3 +1,5 @@ +# 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 diff --git a/config/routes.rb b/config/routes.rb index 9caeef4a2..5ef26a195 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -144,7 +144,6 @@ Rails.application.routes.draw do end resources :contacts - resources :whois end diff --git a/test/integration/registrant/layout_test.rb b/test/integration/registrant/layout_test.rb index 99b447ae9..82b8026b7 100644 --- a/test/integration/registrant/layout_test.rb +++ b/test/integration/registrant/layout_test.rb @@ -12,6 +12,6 @@ class RegistrantLayoutTest < ActionDispatch::IntegrationTest def test_has_link_to_rest_whois visit registrant_domains_url assert(has_link?('Internet.ee', href: 'https://internet.ee')) - refute(has_link?('WHOIS', href: registrant_whois_path)) + refute(has_link?('WHOIS', href: 'registrant/whois')) end end