From 8474d7179ec9d602781f5597952d0422a08a50e4 Mon Sep 17 00:00:00 2001 From: Dana Cotoran Date: Fri, 7 Jan 2022 15:54:44 +0000 Subject: [PATCH] Make See all updates link href less generic Using #history is too generic and causing problems as described in this issue: https://github.com/alphagov/govuk_publishing_components/issues/600 Change the href to something less generic. --- CHANGELOG.md | 1 + .../govuk_publishing_components/components/_metadata.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b27281866..c694def203 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ * Remove jQuery from static analytics ([PR #2526](https://github.com/alphagov/govuk_publishing_components/pull/2526)) * Remove unused scrolltracker ([PR #2551](https://github.com/alphagov/govuk_publishing_components/pull/2551)) * Tweak metadata component "See all updates" interaction ([PR #2552](https://github.com/alphagov/govuk_publishing_components/pull/2552)) +* Make metadata component "See all updates" link href less generic ([PR #2558](https://github.com/alphagov/govuk_publishing_components/pull/2558)) ## 28.0.0 diff --git a/app/views/govuk_publishing_components/components/_metadata.html.erb b/app/views/govuk_publishing_components/components/_metadata.html.erb index 52067e507a..b3959f012e 100644 --- a/app/views/govuk_publishing_components/components/_metadata.html.erb +++ b/app/views/govuk_publishing_components/components/_metadata.html.erb @@ -44,7 +44,7 @@
<%= last_updated %> <% if local_assigns.include?(:see_updates_link) %> - —