Skip to content

Commit

Permalink
Change /eubusiness to an exact route
Browse files Browse the repository at this point in the history
[We're getting errors](https://sentry.io/organizations/govuk/issues/1884114207/?environment=production&project=202213&referrer=slack)
because router is sending sub paths of /eubusiness to collections. We only have
the /eubusiness page right now, so an exact route is the way to go.

I'll check about removing the prefix route once this is republished.
  • Loading branch information
sihugh committed Sep 8, 2020
1 parent 0944e52 commit 3668a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/special_route_publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def unpublish(content_id, options)

def self.routes
{
prefix: [
exact: [
{
document_type: "answer",
content_id: "bb986a97-3b8c-4b1a-89bf-2a9f46be9747",
Expand Down

0 comments on commit 3668a73

Please sign in to comment.