Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Remove old locations config from number10 site and fixture
Browse files Browse the repository at this point in the history
I think this used to be used by Redirector, but it isn't imported into
Transition so has no effect now from here. There's already a rule in Bouncer
to do this for number10:

https://github.com/alphagov/bouncer/blob/1fb429e083ed989a5b5164e976a65f364afc157e/lib/bouncer/fallback_rules.rb#L28-L30
  • Loading branch information
jennyd committed Oct 12, 2016
1 parent db7041f commit 161ce47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions data/transition-sites/number10.yml
Expand Up @@ -6,8 +6,3 @@ tna_timestamp: 20130109092234
homepage_furl: www.gov.uk/number10
homepage: https://www.gov.uk/government/organisations/prime-ministers-office-10-downing-street
css: number10
locations:
- path: ^/news/?([_0-9a-zA-Z-]+)?/([0-9]+)/([0-9]+)/(.*)-([0-9]+)$
operation: ~*
status: 301
new_url: http://www.number10.gov.uk/news/$4
4 changes: 0 additions & 4 deletions tests/fixtures/sites/paths.yml
Expand Up @@ -3,7 +3,3 @@ site: paths
host: paths.local
aliases:
- alias1.paths.local
locations:
- path: /
new: http://www.example.com/foo/bar
status: 301

0 comments on commit 161ce47

Please sign in to comment.