summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-21 12:10:27 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-21 12:10:27 +0000
commit888264e6b732927699bc2c855a8184aa2a095fbb (patch)
tree8cc728e4b0d2efe86a3549b07574d0d2bbbf603f /app/helpers
parent34ad6d995bcab9f88a236bfed15aebdad76df960 (diff)
downloadgitlab-ce-888264e6b732927699bc2c855a8184aa2a095fbb.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/nav/top_nav_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/nav/top_nav_helper.rb b/app/helpers/nav/top_nav_helper.rb
index c7939b29aa8..16eaab4c7c8 100644
--- a/app/helpers/nav/top_nav_helper.rb
+++ b/app/helpers/nav/top_nav_helper.rb
@@ -132,7 +132,7 @@ module Nav
active: active_nav_link?(controller: 'admin/sessions'),
icon: 'lock-open',
href: destroy_admin_session_path,
- method: :post
+ data: { method: 'post' }
)
elsif current_user.admin?
builder.add_secondary_menu_item(