summaryrefslogtreecommitdiff
path: root/app/helpers/whats_new_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-12 21:11:12 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-12 21:11:12 +0000
commitbeab869416d5720126a8cbe76f6c842a9b9d9300 (patch)
tree56426d4783e70252ebbdb5467f8246c497d1ee6e /app/helpers/whats_new_helper.rb
parentda59ce8b217f67707b391d9fb3503dbdf8c4e511 (diff)
downloadgitlab-ce-beab869416d5720126a8cbe76f6c842a9b9d9300.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/whats_new_helper.rb')
-rw-r--r--app/helpers/whats_new_helper.rb12
1 files changed, 2 insertions, 10 deletions
diff --git a/app/helpers/whats_new_helper.rb b/app/helpers/whats_new_helper.rb
index bbf5bde5904..23ed2fc987c 100644
--- a/app/helpers/whats_new_helper.rb
+++ b/app/helpers/whats_new_helper.rb
@@ -5,15 +5,7 @@ module WhatsNewHelper
ReleaseHighlight.most_recent_item_count
end
- def whats_new_storage_key
- most_recent_version = ReleaseHighlight.versions&.first
-
- return unless most_recent_version
-
- ['display-whats-new-notification', most_recent_version].join('-')
- end
-
- def whats_new_versions
- ReleaseHighlight.versions
+ def whats_new_version_digest
+ ReleaseHighlight.most_recent_version_digest
end
end