Skip to content

Commit

Permalink
Merge pull request #8109 from alphagov/remove-government-route
Browse files Browse the repository at this point in the history
Remove `/government` as a route that can be published
  • Loading branch information
brucebolt authored Aug 10, 2023
2 parents 32fb392 + 1585bd8 commit d8dcefe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions app/models/special_route.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
class SpecialRoute
def self.all
[
{
base_path: "/government",
content_id: "4672b1ff-f147-4d49-a5f4-4959588da5a8",
title: "Government prefix",
description: "The prefix route under which almost all government content is published.",
},
{
base_path: "/government/feed",
content_id: "725a346f-9e5b-486d-873d-2b050c126e09",
Expand Down
1 change: 0 additions & 1 deletion lib/tasks/publishing_api.rake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace :publishing_api do
{
format: "special_route",
publishing_app: Whitehall::PublishingApp::WHITEHALL,
rendering_app: Whitehall::RenderingApp::WHITEHALL_FRONTEND,
update_type: "major",
type: "prefix",
public_updated_at: Time.zone.now.iso8601,
Expand Down
1 change: 0 additions & 1 deletion test/unit/lib/tasks/publishing_api_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class PublishingApiRake < ActiveSupport::TestCase
params = {
format: "special_route",
publishing_app: Whitehall::PublishingApp::WHITEHALL,
rendering_app: Whitehall::RenderingApp::WHITEHALL_FRONTEND,
update_type: "major",
type: "prefix",
public_updated_at: Time.zone.now.iso8601,
Expand Down

0 comments on commit d8dcefe

Please sign in to comment.