Commit c20ab9f5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'dz-add-profile-settings-link' into 'master'

Add profile settings link to header user dropdown

It allows you to get to profile settings right from avatar without triggering sidebar 

Based on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5077#note_12878162 

See merge request !5090
parents aad62735 1a5348d5
...@@ -46,6 +46,8 @@ ...@@ -46,6 +46,8 @@
%ul %ul
%li %li
= link_to "Profile", current_user = link_to "Profile", current_user
%li
= link_to "Profile Settings", profile_path
%li.divider %li.divider
%li %li
= link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link", title: 'Sign out' = link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link", title: 'Sign out'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment