diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2018-01-10 22:16:27 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2018-02-05 12:10:09 -0600 |
commit | 2fb167fa3bc1aa3d46f4edc551d1b37a9c038cac (patch) | |
tree | c53c6f8a8ccb71a20e8ae7b228e11a1cedcbdef7 /app/helpers/user_callouts_helper.rb | |
parent | 0a30a9ea595530499e2d3ae8062506b0a94eebad (diff) | |
download | gitlab-ce-2fb167fa3bc1aa3d46f4edc551d1b37a9c038cac.tar.gz |
Restore feature_highlight code41672-emphasize-gke-cluster-to-new-users
From https://gitlab.com/gitlab-org/gitlab-ce/issues/36760
Was reverted in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14373
Diffstat (limited to 'app/helpers/user_callouts_helper.rb')
-rw-r--r-- | app/helpers/user_callouts_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/user_callouts_helper.rb b/app/helpers/user_callouts_helper.rb index 6368e248c6e..36abfaf19a5 100644 --- a/app/helpers/user_callouts_helper.rb +++ b/app/helpers/user_callouts_helper.rb @@ -9,6 +9,6 @@ module UserCalloutsHelper private def user_dismissed?(feature_name) - current_user&.callouts&.find_by(feature_name: feature_name) + current_user&.callouts&.find_by(feature_name: UserCallout.feature_names[feature_name]) end end |