Skip to content

Commit

Permalink
Rename /transition to /brexit
Browse files Browse the repository at this point in the history
  • Loading branch information
sihugh committed Jun 3, 2021
1 parent 086df3f commit 727ef14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/global-bar-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var globalBarInit = {
urlBlockList: function () {
var paths = [
'^/coronavirus/.*$',
'^/transition(.cy)?$',
'^/brexit(.cy)?$',
'^/transition-check/.*$',
'^/eubusiness(\\..*)?$'
]
Expand Down
2 changes: 1 addition & 1 deletion app/views/components/_global_bar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

show_transition_link = false
transition_title = "Brexit"
transition_href = "/transition"
transition_href = "/brexit"
transition_subtext = "Check what you need to do"

coronavirus_link_margin_bottom = show_transition_link ? { margin_bottom: 3 } : {}
Expand Down
2 changes: 1 addition & 1 deletion app/views/root/_base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<a data-track-category="footerClicked"
data-track-action="transitionLinks"
data-track-label="Check what you need to do"
href="/transition"
href="/brexit"
class="govuk-link">
Check what you need to do
</a>
Expand Down

0 comments on commit 727ef14

Please sign in to comment.