From a0556894695b0f96be9b944d5d04248304799593 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 23 Mar 2017 03:46:38 +0200 Subject: [PATCH] Remove unused "restful_whois_url" config key --- app/views/registrant/whois/index.haml | 34 ++++++++++++--------------- config/application-example.yml | 6 ----- 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/app/views/registrant/whois/index.haml b/app/views/registrant/whois/index.haml index 3d95af638..5b1e64efa 100644 --- a/app/views/registrant/whois/index.haml +++ b/app/views/registrant/whois/index.haml @@ -1,21 +1,17 @@ = render 'shared/title', name: t(:whois) -- if ENV['restful_whois_url'].blank? - %p - Registrant configuration issue: missing restful_whois_url -- else - .row - .col-md-12{style: 'margin-bottom: -15px;'} - = form_tag registrant_whois_path, class: 'form-horizontal', method: :get do - .col-md-11 - .form-group - = text_field_tag :domain_name, params[:domain_name], class: 'form-control', placeholder: t(:domain_name), autocomplete: 'off', autofocus: true - .col-md-1.text-right.text-center-xs - .form-group - %button.btn.btn-default -   - %span.glyphicon.glyphicon-search -   - %hr - - if @domain - %pre= @domain.body \ No newline at end of file +.row + .col-md-12{style: 'margin-bottom: -15px;'} + = form_tag registrant_whois_path, class: 'form-horizontal', method: :get do + .col-md-11 + .form-group + = text_field_tag :domain_name, params[:domain_name], class: 'form-control', placeholder: t(:domain_name), autocomplete: 'off', autofocus: true + .col-md-1.text-right.text-center-xs + .form-group + %button.btn.btn-default +   + %span.glyphicon.glyphicon-search +   +%hr +- if @domain + %pre= @domain.body diff --git a/config/application-example.yml b/config/application-example.yml index 6ef70c9a0..239799d0d 100644 --- a/config/application-example.yml +++ b/config/application-example.yml @@ -82,12 +82,6 @@ key_path: '/home/registry/registry/shared/ca/private/webclient.key.pem' epp_hostname: 'registry.gitlab.eu' repp_url: 'https://repp.gitlab.eu/repp/v1/' - -# -# REGISTRANT configuration -# -restful_whois_url: 'https://restful-whois.example.com' - # # Estonian Business Registry #