From 56e1add238d51018fb3c5c215dab3cc0b2fb6ff7 Mon Sep 17 00:00:00 2001 From: LindseyB Date: Thu, 24 Mar 2011 03:49:51 -0400 Subject: [PATCH] Replacing this random html with haml HTML? How did that get there? --- views/layout.haml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/views/layout.haml b/views/layout.haml index 5f0db073..d8cd81f2 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -21,9 +21,13 @@ = current_user.username .stats .following - Following: #{current_user.following.length} + Following: + %a{ :href => "/users/#{current_user.username}/following"} + #{current_user.following.length} .followers - Followers: #{current_user.followers.length} + Followers: + %a{ :href => "/users/#{current_user.username}/followers"} + #{current_user.followers.length} .updates Updates: #{current_user.feed.updates.count}