diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-25 03:06:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-25 03:06:12 +0300 |
commit | 504ab1e32cbd3a529fe61f6c9a30823febce796c (patch) | |
tree | 3f5b7548465cf85bc41b13d36fbd008a271f23e7 /lib/gitlab/gon_helper.rb | |
parent | 150effab274651b3a8d2041e64ced734d1f3a349 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index 2616a19fdaa..92917028851 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -38,10 +38,6 @@ module Gitlab gon.current_user_fullname = current_user.name gon.current_user_avatar_url = current_user.avatar_url end - - # Initialize gon.features with any flags that should be - # made globally available to the frontend - push_frontend_feature_flag(:suppress_ajax_navigation_errors, default_enabled: true) end # Exposes the state of a feature flag to the frontend code. |