diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-10 18:10:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-10 18:10:12 +0300 |
commit | 8f143a46faf2e7b594301512757edf372c294a0c (patch) | |
tree | 8bd5957ffa44d028905ab51a7252cce6783d2e25 /app/helpers/whats_new_helper.rb | |
parent | 3e06afc4cd1b75b3e957e8debf5e4f1963ba18e0 (diff) |
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.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/helpers/whats_new_helper.rb b/app/helpers/whats_new_helper.rb index f267ede3153..bbf5bde5904 100644 --- a/app/helpers/whats_new_helper.rb +++ b/app/helpers/whats_new_helper.rb @@ -6,10 +6,14 @@ module WhatsNewHelper end def whats_new_storage_key - most_recent_version = ReleaseHighlight.most_recent_version + 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 + end end |