Skip to content

Commit

Permalink
Merge pull request #9908 from alphagov/make-get-involved-exact-route
Browse files Browse the repository at this point in the history
Make /government/get-involved an exact route
  • Loading branch information
KludgeKML authored Feb 6, 2025
2 parents 4d41db6 + 41f772b commit bd7e2bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/models/special_route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ def self.all
title: "Government feed",
description: "This route serves the feed of published content",
rendering_app: Whitehall::RenderingApp::COLLECTIONS_FRONTEND,
type: "exact",
},
{
base_path: "/government/get-involved",
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/publishing_api.rake
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace :publishing_api do
format: "special_route",
publishing_app: Whitehall::PublishingApp::WHITEHALL,
update_type: "major",
type: "prefix",
public_updated_at: Time.zone.now.iso8601,
type: "exact",
}.merge(route),
)
end
Expand Down
2 changes: 1 addition & 1 deletion test/unit/lib/tasks/publishing_api_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PublishingApiRake < ActiveSupport::TestCase
format: "special_route",
publishing_app: Whitehall::PublishingApp::WHITEHALL,
update_type: "major",
type: "prefix",
type: "exact",
public_updated_at: Time.zone.now.iso8601,
}

Expand Down

0 comments on commit bd7e2bf

Please sign in to comment.