diff --git a/app/presenters/start_node/recruitment_banner.rb b/app/presenters/start_node/recruitment_banner.rb index da7ea670f48..620f2c0aef3 100644 --- a/app/presenters/start_node/recruitment_banner.rb +++ b/app/presenters/start_node/recruitment_banner.rb @@ -1,11 +1,5 @@ module StartNode module RecruitmentBanner - SURVERY_URL = "https://surveys.publishing.service.gov.uk/s/SNFVW1/".freeze - SURVEY_URLS = { - "/maternity-paternity-calculator" => SURVERY_URL, - "/calculate-statutory-sick-pay" => SURVERY_URL, - }.freeze - BENEFITS_SURVEY_URL = "https://signup.take-part-in-research.service.gov.uk/home?utm_campaign=Content_History&utm_source=Hold_gov_to_account&utm_medium=gov.uk&t=GDS&id=16".freeze BENEFITS_SURVEY_URLS = { "/state-pension-age" => BENEFITS_SURVEY_URL, @@ -13,10 +7,6 @@ module RecruitmentBanner "/child-benefit-tax-calculator" => BENEFITS_SURVEY_URL, }.freeze - def survey_url(path) - landing_page?(path) && SURVEY_URLS[base_path] - end - def benefits_survey_url(path) landing_page?(path) && BENEFITS_SURVEY_URLS[base_path] end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index cd44e5568c0..eff5a46c7c2 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,16 +1,7 @@ <% content_for :body do %>
<%= yield :breadcrumbs %> - <% if @presenter && @presenter.start_node.survey_url(request.path) %> - - <% elsif @presenter && @presenter.start_node.benefits_survey_url(request.path) %> + <% if @presenter && @presenter.start_node.benefits_survey_url(request.path) %>