mirror of
https://github.com/internetee/registry.git
synced 2025-07-26 04:28:27 +02:00
Update registrant
This commit is contained in:
parent
99eeeae89f
commit
0ddd2b6f32
2 changed files with 1 additions and 7 deletions
|
@ -1,11 +1,5 @@
|
|||
class Registrant::WhoisController < RegistrantController
|
||||
def index
|
||||
authorize! :view, Registrant::Whois
|
||||
if params[:domain_name].present?
|
||||
whois_url = "#{ENV['restful_whois_url']}/v1/#{params[:domain_name]}"
|
||||
binding.pry
|
||||
page = Nokogiri::HTML(open(whois_url))
|
||||
@results = 'ee'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue