From 0f2dc34e55232b203d5b5a15928a7917a7fe742c Mon Sep 17 00:00:00 2001 From: nilsding Date: Mon, 8 Dec 2014 17:14:02 +0100 Subject: [PATCH] why not zoidberg? --- app/views/static/index.html.haml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app/views/static/index.html.haml b/app/views/static/index.html.haml index 9fb44882..62dd8e1c 100644 --- a/app/views/static/index.html.haml +++ b/app/views/static/index.html.haml @@ -13,12 +13,14 @@ = pluralize(inbox_count, 'new question') in your inbox! .row - .col-md-6.col-sm-6.col-xs-6 - %h4.entry-text#follower-count= current_user.follower_count - %h6.entry-subtext Follower - .col-md-6.col-sm-6.col-xs-6 - %h4.entry-text#friend-count= current_user.friend_count - %h6.entry-subtext Following + %a{href: show_user_followers_path(current_user.screen_name)} + .col-md-6.col-sm-6.col-xs-6 + %h4.entry-text#follower-count= current_user.follower_count + %h6.entry-subtext Follower + %a{href: show_user_following_path(current_user.screen_name)} + .col-md-6.col-sm-6.col-xs-6 + %h4.entry-text#friend-count= current_user.friend_count + %h6.entry-subtext Following .row .col-md-6.col-sm-6.col-xs-6 %h4.entry-text#asked-count= current_user.asked_count