diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-09 21:07:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-09 21:07:44 +0300 |
commit | 453634293e24164ffaa5cd708e47a1cebc07bcd3 (patch) | |
tree | e49bb067fc508f57b03ac582872c4b1215eec326 /app/helpers | |
parent | 608d6aaa3d80a33862ca2c29d96bfd687b1a011b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/users_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index 6fa3fc4f04a..62b9eb2b506 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -300,6 +300,10 @@ module UsersHelper other: s_('User|Other') }.with_indifferent_access.freeze end + + def saved_replies_enabled? + Feature.enabled?(:saved_replies, current_user) + end end UsersHelper.prepend_mod_with('UsersHelper') |