diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-11-08 09:28:50 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-11-08 09:28:50 +0000 |
commit | b579cc7620dad1d406e974cce2d9ad5a4ce58a57 (patch) | |
tree | f377a0458e3d57b7fe76e3a35a33430da9c9ff45 /app/views/layouts | |
parent | f2f58a60b76acd479e37bdbc9246ec9f9b2bea82 (diff) | |
parent | 4dea7944c46287707b6b65ca10e0af0b69a57a21 (diff) | |
download | gitlab-ce-b579cc7620dad1d406e974cce2d9ad5a4ce58a57.tar.gz |
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
Diffstat (limited to 'app/views/layouts')
-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 |