Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-10 23:08:13 +0300
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-10 23:08:13 +0300
commit3e28d04cced2c417ee9144a17866e0cc2c910a6c (patch)
treec39115f7bfe5127adb0085d7182bbc1388d20f6e /app/views/layouts
parent630aeb31eb7728789d1f7659ec0e12ea5a5fd59c (diff)
Fix preferences_spec test
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/_page.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml
index 1a721b0c296..dbf425d46c7 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -11,7 +11,7 @@
.collapse-nav
= render partial: 'layouts/collapse_button'
- if current_user
- = link_to current_user, class: 'sidebar-user', title: "Profile" do
+ = link_to current_user, class: 'sidebar-user', title: "Profile", data: {user: current_user.username} do
= image_tag avatar_icon(current_user, 60), alt: 'Profile', class: 'avatar avatar s36'
.username
= current_user.username