Skip to content

Commit

Permalink
Stop redirecting /how-to-vote parts to the front
Browse files Browse the repository at this point in the history
We'll be reverting to using a multipart guide once polls have closed. This
redirect is a bit of courtesy rather than anything crucial, so it's fine to
turn it off a little ahead of time.
  • Loading branch information
sihugh committed May 5, 2021
1 parent db8ebd1 commit 3d6a7d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

get "/government/uploads/*path" => "asset_manager_redirect#show", format: false

# Testing guides as a single page so we redirect parts to the default page
get "/how-to-vote/:chapter", to: redirect("/how-to-vote#%{chapter}")

get "*path/:variant" => "content_items#show",
constraints: {
variant: /print/,
Expand Down

0 comments on commit 3d6a7d2

Please sign in to comment.