Skip to content

Commit

Permalink
Merge pull request #3662 from alphagov/remove-homepage-redirect-code
Browse files Browse the repository at this point in the history
Remove homepage redirect
  • Loading branch information
BeckaL authored Jun 23, 2023
2 parents 61add97 + 868e5e7 commit bc4a931
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

mount GovukPublishingComponents::Engine, at: "/component-guide"

get "/homepage" => redirect("/")

get "/random" => "random#random_page"

get "/healthcheck/live", to: proc { [200, {}, %w[OK]] }
Expand Down
6 changes: 0 additions & 6 deletions lib/special_route_publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ def publish(route_type, route)
def self.routes
{
exact: [
{
content_id: "ffcd9054-ee77-4539-978d-171a60eb4b2a",
base_path: "/homepage",
title: "GOV.UK homepage redirect",
description: "Redirects to /",
},
{
content_id: "caf90fb7-11e3-4f8e-9a5d-b83283c91533",
base_path: "/tour",
Expand Down

0 comments on commit bc4a931

Please sign in to comment.