added links to pages

This commit is contained in:
Andreas N 2014-12-19 22:37:04 +01:00
parent 46c9ccc0ac
commit 75bca2430b
1 changed files with 8 additions and 6 deletions

View File

@ -33,9 +33,11 @@
%h4.entry-text#friend-count= @user.friend_count
%h6.entry-subtext Following
.row
%a{href: show_user_questions_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#asked-count= @user.asked_count
%h6.entry-subtext Questions
%a{href: show_user_profile_path(@user.screen_name)}
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= @user.answered_count
%h6.entry-subtext Answers