diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-24 09:09:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-24 09:09:16 +0300 |
commit | f1d39f5bea74d84c38b4713f66cfcc9fdbcd1c57 (patch) | |
tree | 2c43f91d951a7465535d6e3b328a12e5f93aa1e1 /app/helpers | |
parent | 93b0b77287acb1cf1a6a408b3a4e9587bedc9364 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/user_callouts_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/user_callouts_helper.rb b/app/helpers/user_callouts_helper.rb index 6a242d000ae..d1db624432b 100644 --- a/app/helpers/user_callouts_helper.rb +++ b/app/helpers/user_callouts_helper.rb @@ -49,8 +49,8 @@ module UserCalloutsHelper !user_dismissed?(WEBHOOKS_MOVED) end - def show_customize_homepage_banner?(customize_homepage) - customize_homepage && !user_dismissed?(CUSTOMIZE_HOMEPAGE) + def show_customize_homepage_banner? + !user_dismissed?(CUSTOMIZE_HOMEPAGE) end def show_feature_flags_new_version? |