From 9aabccdddc2ac3382d5556d69a107d0e3ae2fa6d Mon Sep 17 00:00:00 2001 From: Andreas N Date: Thu, 12 Feb 2015 18:10:16 +0100 Subject: [PATCH] add links to profile --- app/views/layouts/_profile.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/_profile.html.haml b/app/views/layouts/_profile.html.haml index a8f599de..49d16329 100644 --- a/app/views/layouts/_profile.html.haml +++ b/app/views/layouts/_profile.html.haml @@ -12,10 +12,12 @@ .media-body - if current_user.display_name.blank? .profile--dropdown-username - = current_user.screen_name + %a{href: show_user_profile_path(current_user.screen_name)} + = current_user.screen_name - else .profile--dropdown-displayname - = current_user.display_name + %a{href: show_user_profile_path(current_user.screen_name)} + = current_user.display_name .profile--username = current_user.screen_name %li.divider.hidden-xs