diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-11-08 12:28:50 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-11-10 01:11:54 +0300 |
commit | c70766e4b1af61625debcdd07d7e8dd5b75f52e9 (patch) | |
tree | f377a0458e3d57b7fe76e3a35a33430da9c9ff45 /app | |
parent | f2f58a60b76acd479e37bdbc9246ec9f9b2bea82 (diff) |
Merge branch 'feature-change-signout-route' into 'master'
Change Sign Out route from a DELETE to a GET
Closes #39708
See merge request gitlab-org/gitlab-ce!15231
(cherry picked from commit b579cc7620dad1d406e974cce2d9ad5a4ce58a57)
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index 5ff6ac5fc00..1eca412aff9 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -61,7 +61,7 @@ = link_to "Help", help_path %li.divider %li - = link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link" + = link_to "Sign out", destroy_user_session_path, class: "sign-out-link" - if session[:impersonator_id] %li.impersonation = link_to admin_impersonation_path, class: 'impersonation-btn', method: :delete, title: "Stop impersonation", aria: { label: 'Stop impersonation' }, data: { toggle: 'tooltip', placement: 'bottom', container: 'body' } do |